1 # Maintainer: Christian Brassat <crshd@mail.com>
2 # Contributor: Daniel Micay <danielmicay@gmail.com>
3 # Contributor: Angel Velasquez <angvp@archlinux.org>
4 # Contributor: tobias <tobias@archlinux.org>
5 # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
6 # Contributer: Magnus Woldrich <magnus@trapd00r.se>
8 pkgname=rxvt-unicode-256xresources
12 pkgdesc="Unicode enabled rxvt-clone terminal emulator (urxvt) with layout/font-width patches and support for 256 Xresource colors"
13 arch=('i686' 'x86_64')
14 url="http://software.schmorp.de/pkg/rxvt-unicode.html"
16 depends=('gcc-libs' 'libxft' 'gdk-pixbuf2')
17 optdepends=('perl: lots of utilities' 'gtk2-perl: to use the urxvt-tabbed')
18 source=(http://dist.schmorp.de/rxvt-unicode/$_pkgname-$pkgver.tar.bz2
22 provides=(rxvt-unicode)
23 conflicts=(rxvt-unicode)
24 md5sums=('022235a9a8b012c29e72c49177be6ce4'
25 '3de6c13126a45bc3bc9f6bba077a1311'
26 'df0c3a8b6bb0578d1b91e4081c47881c'
27 'fb78c2ecf87626962734320cc2bb7ab1')
30 cd "$srcdir/$_pkgname-$pkgver"
31 patch -p0 -i ../font-width-fix.patch
32 patch -p0 -i ../256color.patch
33 ./configure --prefix=/usr \
34 --with-terminfo=/usr/share/terminfo \
36 --enable-font-styles \
38 --enable-keepscrolling \
39 --enable-selectionscrolling \
40 --enable-smart-resize \
42 --enable-transparency \
51 cd "$srcdir/$_pkgname-$pkgver"
52 install -d "$pkgdir/usr/share/terminfo"
53 export TERMINFO="$pkgdir/usr/share/terminfo"
54 make DESTDIR="$pkgdir" install
55 # install the tabbing wrapper ( requires gtk2-perl! )
56 sed -i 's/\"rxvt\"/"urxvt"/' doc/rxvt-tabbed
57 install -Dm 755 doc/rxvt-tabbed "$pkgdir/usr/bin/urxvt-tabbed"
58 # install freedesktop menu
59 install -Dm644 ../$_pkgname.desktop \
60 "$pkgdir/usr/share/applications/$_pkgname.desktop"