diff --git a/ports/x/xterm/Pkgfile b/ports/x/xterm/Pkgfile new file mode 100644 index 0000000..79d8c3a --- /dev/null +++ b/ports/x/xterm/Pkgfile @@ -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 +}