aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xterm/APKBUILD
blob: 7ad04707ee13359dd274a69bdb231cc1d5e098f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=xterm
pkgver=325
pkgrel=0
pkgdesc="X Terminal Emulator"
url="http://invisible-island.net/xterm"
arch="all"
license="custom"
depends=""
depends_dev=""
makedepends="libxaw-dev libxft-dev ncurses-dev"
install=""
subpackages="$pkgname-doc"
source="ftp://invisible-island.net/$pkgname/$pkgname-$pkgver.tgz
	posix-ptys.patch"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--with-x \
		--disable-full-tgetent \
		--disable-imake \
		--enable-ansi-color \
		--enable-88-color \
		--enable-256-color \
		--enable-broken-osc \
		--enable-broken-st \
		--enable-load-vt-fonts \
		--enable-i18n \
		--enable-wide-chars \
		--enable-doublechars \
		--enable-warnings \
		--enable-tcap-query \
		--enable-logging \
		--enable-dabbrev \
		--enable-freetype \
		--enable-luit \
		--enable-mini-luit \
		--enable-narrowproto \
		--enable-exec-xterm \
		--with-tty-group=tty \
		--with-utempter \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="e78a0bbc4d5fa3780917e447ae8ebc6b  xterm-325.tgz
9a6939a624949287671ca076f5b92543  posix-ptys.patch"
sha256sums="3b31b07a0c40427e9330ec3be9d1a748c72808f945953cea9e526e48be315f1b  xterm-325.tgz
c90d715cb7667ac91fd2697caaf1abce70e46ca0cf14eabf5e17dc305e3cb84c  posix-ptys.patch"
sha512sums="7049a013967cb90eb196684e7d6d0664cd0d7c86154fba318493d9249e973a4bf591861cbbc051a80184ef427aad75774b15d79cb571d3f82482c1b51e7a99f4  xterm-325.tgz
03722dc3ebe8067a1edf4673ce2e5132832e52818f4e122bfbd3846a4ebf0ca25bea999d98455b87ec572931becbbb0432e22c75b0fb5371a81c8acf0c4e9f98  posix-ptys.patch"