new xterm port

This commit is contained in:
Alexander Zhirov 2024-03-24 22:14:01 +03:00
parent 810bf33ccb
commit 01ca87bdbd
1 changed files with 26 additions and 0 deletions

26
ports/x/xterm/Pkgfile Normal file
View File

@ -0,0 +1,26 @@
# Description: Termulator emulator for X Windows
# URL: https://invisible-island.net/xterm/xterm.html
# Maintainer: Alexander Zhirov
# Depends on: util-linux xorg-font-alias xorg-font-misc-misc xorg-libxaw
name=xterm
version=390
release=1
source=(https://invisible-mirror.net/archives/$name/$name-$version.tgz)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--with-app-defaults=/usr/share/X11/app-defaults/ \
--disable-nls \
--enable-256-color \
--enable-wide-chars
make
make install DESTDIR=$PKG
install -d $PKG/usr/share/applications
install -m 0644 xterm.desktop $PKG/usr/share/applications
}