summaryrefslogblamecommitdiff
path: root/user/xterm/APKBUILD
blob: edec39639110f03f658592c38fb22f00db858d15 (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=340
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="9a150741868fb681e71f4e3644748ea62fd73f9babbbe0baaca24f8c65d96c2ca434abcca713c2d337ec83e2264903b0f98fa6c9dbc3e3ac19c69a98d4c0a033  xterm-340.tgz"