summaryrefslogblamecommitdiff
path: root/user/xterm/APKBUILD
blob: 7e35c3d49c759b9ad5a6da45652c141a2adbfb4c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14


                                                           
          









                                                                           


















                                                       
                                                                                                                                                            
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=xterm
pkgver=337
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"

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
}

sha512sums="fad31aa971a42cf38d3e3db2edc615b408d92226c305654b9276592c6dee075f31c7f082a3f549284f1685a31d5d9dedbda99c2c308a90bd741958f862806609  xterm-337.tgz"