aboutsummaryrefslogtreecommitdiffstats
path: root/main/mrxvt/APKBUILD
blob: 4b4ac62e338659f10707fdc38f4960be9adabce3 (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
# Contributor: Mark Constable <markc@renta.net>
# Maintainer: Mark Constable <markc@renta.net>
pkgname=mrxvt
pkgver=0.5.4
pkgrel=4
pkgdesc="A multi-tabbed X terminal emulator based on rxvt code"
url="http://materm.sourceforge.net/wiki/pmwiki.php"
arch="all"
license="GPL"
makedepends="libpng-dev jpeg-dev libxft-dev libxpm-dev libx11-dev"
subpackages="$pkgname-doc"
source="
	http://downloads.sourceforge.net/sourceforge/materm/$pkgname-$pkgver.tar.gz
	mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch
	mrxvt.desktop
	"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	patch -p1 < ../mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch || return 1
}

build() {
	cd "$_builddir"
	 ./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--enable-xft \
		--enable-text-shadow \
		--enable-transparency \
		--enable-smart-resize \
		--enable-menubar \
		--disable-ourstrings \
		--enable-linespace \
		--enable-256colors \
		--enable-xim \
		--enable-thai \
		--enable-greek \
		--enable-cjk \
		--enable-backspace-key \
		--with-save-lines=2048 || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR=$pkgdir install || return 1
	install -Dm644 ../mrxvt.desktop $pkgdir/usr/share/applications/mrxvt.desktop

}
md5sums="0232c8868484751dcb931a28f0756f69  mrxvt-0.5.4.tar.gz
e4a8bb2521246aba85f8dcaa01aed527  mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch
6ba3bcd484c8dad1b0b48465ded54de3  mrxvt.desktop"