1 # Maintainer: Daniel Micay <danielmicay@gmail.com>
2 # Contributor: Angel Velasquez <angvp@archlinux.org>
3 # Contributor: tobias <tobias@archlinux.org>
4 # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
6 pkgname=rxvt-unicode-patched
10 pkgdesc="Unicode enabled rxvt-clone terminal emulator (urxvt) with fixed font spacing (width)."
11 arch=('i686' 'x86_64')
12 url="http://software.schmorp.de/pkg/rxvt-unicode.html"
14 depends=('gcc-libs' 'libxft' 'gdk-pixbuf2')
15 optdepends=('perl: lots of utilities' 'gtk2-perl: to use the urxvt-tabbed')
16 source=(http://dist.schmorp.de/rxvt-unicode/$_pkgname-$pkgver.tar.bz2
19 sha1sums=('e6fdf091860ecb458730dc68b0176f67f207a2f7'
20 'a61b126b40f2452400a073bb69725e669371db1d'
21 '01ee8f212add79a158dcd4ed78d0ea1324bdc59b')
22 provides=(rxvt-unicode)
23 conflicts=(rxvt-unicode)
26 cd "$srcdir/$_pkgname-$pkgver"
27 patch -p0 -i ../font-width-fix.patch
28 ./configure --prefix=/usr \
29 --with-terminfo=/usr/share/terminfo \
31 --enable-font-styles \
33 --enable-keepscrolling \
34 --enable-selectionscrolling \
35 --enable-smart-resize \
37 --enable-transparency \
46 cd "$srcdir/$_pkgname-$pkgver"
47 install -d "$pkgdir/usr/share/terminfo"
48 export TERMINFO="$pkgdir/usr/share/terminfo"
49 make DESTDIR="$pkgdir" install
50 # install the tabbing wrapper ( requires gtk2-perl! )
51 sed -i 's/\"rxvt\"/"urxvt"/' doc/rxvt-tabbed
52 install -Dm 755 doc/rxvt-tabbed "$pkgdir/usr/bin/urxvt-tabbed"
53 # install freedesktop menu
54 install -Dm644 ../$_pkgname.desktop \
55 "$pkgdir/usr/share/applications/$_pkgname.desktop"