From 1834b3ed24478593fa11d5352c7a814d535e3eb6 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Sun, 12 Aug 2018 02:18:46 +0000 Subject: user/xterm: new package --- user/xterm/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 user/xterm/APKBUILD (limited to 'user/xterm') 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 +# Maintainer: Kiyoshi Aman +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 +} + -- cgit v1.2.3-70-g09d2