diff options
author | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2018-08-12 02:18:46 +0000 |
---|---|---|
committer | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2018-08-12 02:18:46 +0000 |
commit | 1834b3ed24478593fa11d5352c7a814d535e3eb6 (patch) | |
tree | 35c7911cfc7df4e3a9345b17fdf0ba86019749b1 /user/xterm | |
parent | b588acdf9581c932808f175daadef10ccff6af4e (diff) | |
download | packages-1834b3ed24478593fa11d5352c7a814d535e3eb6.tar.gz packages-1834b3ed24478593fa11d5352c7a814d535e3eb6.tar.bz2 packages-1834b3ed24478593fa11d5352c7a814d535e3eb6.tar.xz packages-1834b3ed24478593fa11d5352c7a814d535e3eb6.zip |
user/xterm: new package
Diffstat (limited to 'user/xterm')
-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 +} + |