updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / rxvt-unicode-256xresources / PKGBUILD
blob8975362a685c0308dfd8e96623bc9e85d28fe7ea
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
9 _pkgname=rxvt-unicode
10 pkgver=9.14
11 pkgrel=1
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"
15 license=('GPL')
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
19         $_pkgname.desktop
20         font-width-fix.patch
21         256color.patch)
22 provides=(rxvt-unicode)
23 conflicts=(rxvt-unicode)
24 md5sums=('022235a9a8b012c29e72c49177be6ce4'
25          '3de6c13126a45bc3bc9f6bba077a1311'
26          'df0c3a8b6bb0578d1b91e4081c47881c'
27          'fb78c2ecf87626962734320cc2bb7ab1')
29 build() {
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 \
35     --enable-256-color \
36     --enable-font-styles \
37     --enable-xim \
38     --enable-keepscrolling \
39     --enable-selectionscrolling \
40     --enable-smart-resize \
41     --enable-pixbuf \
42     --enable-transparency \
43     --enable-utmp \
44     --enable-wtmp \
45     --enable-lastlog \
46     --enable-frills
47   make
50 package() {
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"