aboutsummaryrefslogtreecommitdiffstats
path: root/main/rxvt-unicode/APKBUILD
blob: 42c51be73048fd5de12d7c22af490021d6cca173 (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
# Contributor: Moritz Wilhelmy
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=rxvt-unicode
pkgver=9.19
pkgrel=0
pkgdesc='rxvt fork with improved unicode support'
arch=all
url='http://software.schmorp.de/pkg/rxvt-unicode.html'
license='GPL'
depends=
makedepends="libx11-dev libxft-dev ncurses fontconfig-dev gdk-pixbuf-dev libxrender-dev perl-dev"
source="http://dist.schmorp.de/rxvt-unicode/$pkgname-$pkgver.tar.bz2
	gentables.patch
	rxvt-unicode-kerning.patch"

_builddir="${srcdir}/${pkgname}-${pkgver}"

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
	local i
	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 \
		--with-terminfo=/usr/share/terminfo \
		--enable-256-color \
		--enable-font-styles \
		--enable-xim \
		--enable-keepscrolling \
		--enable-selectionscrolling \
		--enable-smart-resize \
		--enable-pixbuf \
		--enable-transparency \
		--enable-frills \
		--enable-perl \
		--enable-mousewheel \
		--enable-text-blink \
		--enable-fading \
		--disable-utmp \
		--disable-wtmp \
		--disable-lastlog \
		|| return 1
	make
}

package() {
	cd "$_builddir"
	export TERMINFO="$pkgdir/usr/share/terminfo"
	install -d "$TERMINFO"
	make DESTDIR="$pkgdir" install
}

md5sums="45ad197eb9b5a840c0f65e3a8131921c  rxvt-unicode-9.19.tar.bz2
105d79e77f2aedc2520791177c74feda  gentables.patch
585157318cb78733804eed507b77c37c  rxvt-unicode-kerning.patch"
sha256sums="d9237cf1973af461ecbeeb708e4d00893294771558e8338b4f33418ed52d3241  rxvt-unicode-9.19.tar.bz2
d89c34b9a36d67cde0d3a4e934e499d668a4d712c355847956a284fa2899b576  gentables.patch
fc241d7c11b86f589f41a0f488e8f04875ca6ca937e57bc2347c19dff423a38a  rxvt-unicode-kerning.patch"
sha512sums="357f2b9a299b816264e8cece3200338369399e4f760622daec1520d05c75e93d44e2dee3351c8e31765ab8f2218dbb9d239960ae8112e2f75d988785373d7f26  rxvt-unicode-9.19.tar.bz2
2a973e001dacf900895d0c1045dfffd5a1ca7650669853bd5fdf09819b19a750bb59d913f8bdc83b103e5e0e7cce7f0d2b6184f36a29c1bac86e90c08ae6a475  gentables.patch
d2fb68b3e11a78328ded4d2d646ffbaae657e9f23f3b4b81e11bc4350dd3e1e7585eeaeee47a70246bdfb7e12fbb667e40a7766989154235064f56ed4ad0a987  rxvt-unicode-kerning.patch"