blob: d75bab4a266bcb5d08af9317be3472fbd6762b97 (
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
67
68
69
70
71
72
73
74
75
76
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=xterm
pkgver=320
pkgrel=0
pkgdesc="X Terminal Emulator"
url="http://invisible-island.net/xterm"
arch="all"
license="custom"
depends=""
depends_dev="libxaw-dev libxft-dev ncurses-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="ftp://invisible-island.net/xterm/xterm-$pkgver.tgz
posix-ptys.patch"
_builddir="$srcdir"/xterm-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
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="0d7f0e6390d132ae59876b3870e5783d xterm-320.tgz
cdb785aee3c4caf15479384035563a18 posix-ptys.patch"
sha256sums="a60dbb574334c081425fa30f011cd9f571e3be7a91e2a84e252461798bce24a7 xterm-320.tgz
5d362c0e4d0fa956fe77070f7a7ae5105c3a560a6a9bc5ee6faa0eb6c5f9d50e posix-ptys.patch"
sha512sums="6c234b5564ce1276136bc3ef8ef5d6703ed9dc3af3b0fd7c8c713c0876276fc4bb55cee7137f9a8c45df66531b6bd8eb778bd7660ea35c4aa8aa80ba17ba1263 xterm-320.tgz
2730d369fde55f6ebe65c436da00cc65d0b948ae76b7f6f1b456a8ca428b9dd4853e933c800571b76f165b500b89b80eb8d8ed4aba8e62d64b84c3a315a530c0 posix-ptys.patch"
|