updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rxvt-unicode-no-resizeinc / PKGBUILD
blob5b4d7e6984aae61aa2d724a5fb247701a99340c6
1 pkgname=rxvt-unicode-no-resizeinc
2 pkgver=9.12
3 pkgrel=1
4 pkgdesc="rxvt-unicode without increment resize"
5 arch=('i686' 'x86_64')
6 url="http://software.schmorp.de/pkg/rxvt-unicode.html"
7 license=('GPL')
8 depends=('gcc-libs' 'libxft' 'gdk-pixbuf2')
9 optdepends=('perl: lots of utilities' 'gtk2-perl: to use the urxvt-tabbed')
10 provides=('rxvt-unicode')
11 conflicts=('rxvt-unicode')
12 source=(http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-${pkgver}.tar.bz2 \
13         rxvt-unicode.desktop \
14         no-resizeinc.diff)
15 md5sums=('945af37d661c8c45a7cac292160e7c70'
16          '3de6c13126a45bc3bc9f6bba077a1311'
17          'f7624c1f7219dbf97004c76c03f752db')
18 sha1sums=('4cbf0516b8304dfb041b9f3e5aaba662fee4b979'
19           '962aebc88982dbeb62a7c4a051ff567e015f61a0'
20           '761fb5d20a3051307806b7749937fffd6275986c')
22 build() {
23   cd "${srcdir}/rxvt-unicode-${pkgver}"
24   patch -p0 < ../../no-resizeinc.diff || return 1
25   ./configure --prefix=/usr \
26     --with-terminfo=/usr/share/terminfo \
27     --enable-256-color \
28     --enable-font-styles \
29     --enable-xim \
30     --enable-keepscrolling \
31     --enable-selectionscrolling \
32     --enable-smart-resize \
33     --enable-pixbuf \
34     --enable-transparency \
35     --enable-utmp \
36     --enable-wtmp \
37     --enable-lastlog \
38     --disable-frills
39   make
42 package() {
43   cd "${srcdir}/rxvt-unicode-${pkgver}"
44   install -d "${pkgdir}/usr/share/terminfo"
45   export TERMINFO="${pkgdir}/usr/share/terminfo"
46   make DESTDIR="${pkgdir}" install
47  # install the tabbing wrapper ( requires gtk2-perl! )
48   sed -i 's/\"rxvt\"/"urxvt"/' doc/rxvt-tabbed
49   install -Dm 755 doc/rxvt-tabbed "${pkgdir}/usr/bin/urxvt-tabbed"
50  # install freedesktop menu
51   install -Dm644 ../rxvt-unicode.desktop \
52     "${pkgdir}/usr/share/applications/rxvt-unicode.desktop"