diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/xterm/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/xterm/APKBUILD b/user/xterm/APKBUILD new file mode 100644 index 000000000..9c2a3a434 --- /dev/null +++ b/user/xterm/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=xterm +pkgver=333 +pkgrel=0 +pkgdesc="An X-based terminal emulator" +url="https://invisible-island.net/xterm/" +arch="all" +options="!check" # no tests +license="X11" +makedepends="libx11-dev libsm-dev libice-dev libxt-dev utmps-dev libxaw-dev + libxext-dev freetype-dev ncurses-dev pcre-dev" +subpackages="$pkgname-doc" +source="ftp://ftp.invisible-island.net/xterm/xterm-$pkgver.tgz" +sha512sums="90c5d8d3d039417915d40d22fcc6244d1c86e8bcc39d865ba6cb67fc9d1ff6e0f3ee79da06a094d23f6801195f0baa26564a553d04c974d62a331016118215a0 xterm-333.tgz" +builddir="$srcdir/xterm-$pkgver" + +build() { + cd "$builddir" + LIBS="-lutmps -lskarnet -ltinfow" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --with-pcre + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + |