summaryrefslogblamecommitdiff
path: root/user/xterm/APKBUILD
blob: 35177bf1a52084a130056283a030968450cae214 (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=341
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="336b8e8d3bfbc373ce1a0547571f705401142b54a8206050d2cdf961dfd99e01c9e78e10df443eb3278fb02116536cf55bc1501835978b9b390399614ab77494  xterm-341.tgz"