1 # Contributor: tobias <tobias@archlinux.org>
3 # Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com>
8 pkgdesc="A multi-tabbed X terminal emulator based on rxvt code (also known as materm)"
10 url="http://materm.sourceforge.net"
12 depends=('libpng' 'libjpeg' 'libxft' 'libxpm')
13 optdepends=('perl: for mrxvtset.pl script')
15 backup=('etc/mrxvt/mrxvtrc' 'etc/mrxvt/submenus.menu' 'etc/mrxvt/default.menu')
16 source=("http://downloads.sourceforge.net/materm/$pkgname-$pkgver.tar.gz"
17 'mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch'
20 md5sums=('0232c8868484751dcb931a28f0756f69'
21 '2b6ecc9d68185e56a50eca0a2548fa8b'
22 '3dcb8e404e6324d7768b43fe6a7986c4'
23 '3465d6b86d550e9aa868a918d2e4e3f2')
26 cd "$srcdir/$pkgname-$pkgver"
27 patch -p0 < "$srcdir/mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch"
28 patch -Np1 -i "$srcdir/libpng14.patch"
30 ./configure --prefix=/usr --sysconfdir=/etc --enable-xft --enable-text-shadow \
31 --enable-transparency --enable-smart-resize --enable-menubar \
32 --disable-ourstrings --enable-linespace --enable-256colors --enable-xim \
33 --enable-thai --enable-greek --enable-cjk --enable-backspace-key \
34 --with-save-lines=2048
39 cd "$srcdir/$pkgname-$pkgver"
40 make DESTDIR="$pkgdir" install
41 install -Dm 644 "$srcdir/mrxvt.desktop" "$pkgdir/usr/share/applications/mrxvt.desktop"