# $Id: PKGBUILD 122865 2011-05-07 00:01:55Z eric $ # Maintainer: tobias # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org pkgname=rxvt-unicode pkgver=9.11 pkgrel=1 pkgdesc="An unicode enabled rxvt-clone terminal emulator (urxvt)" arch=('i686' 'x86_64' 'mips64el') url="http://software.schmorp.de/pkg/rxvt-unicode.html" license=('GPL') depends=('gcc-libs' 'libxft' 'gdk-pixbuf2') optdepends=('perl: lots of utilities' 'gtk2-perl: to use the urxvt-tabbed') source=(http://dist.schmorp.de/rxvt-unicode/${pkgname}-${pkgver}.tar.bz2 \ ${pkgname}.desktop popup-menu-hang.diff) md5sums=('1bed5bfeed026e0bfafa0e9e4f62aa37' '3de6c13126a45bc3bc9f6bba077a1311' 'aead33ba3b08eeb251fb0c1427a4a024') sha1sums=('21d0fad9a6032dbcf2c43a85f288543c6bd5ab3d' '962aebc88982dbeb62a7c4a051ff567e015f61a0' 'ec4013f4af3a45da928b75f40fbf6389070e7fdd') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -p0 < ../popup-menu-hang.diff ./configure --prefix=/usr \ --with-terminfo=/usr/share/terminfo \ --enable-256-color \ --enable-font-styles \ --enable-xim \ --enable-keepscrolling \ --enable-selectionscrolling \ --enable-smart-resize \ --enable-pixbuf \ --enable-transparency \ --enable-utmp \ --enable-wtmp \ --enable-lastlog \ --disable-frills make } package() { cd "${srcdir}/${pkgname}-${pkgver}" install -d "${pkgdir}/usr/share/terminfo" export TERMINFO="${pkgdir}/usr/share/terminfo" make DESTDIR="${pkgdir}" install # install the tabbing wrapper ( requires gtk2-perl! ) sed -i 's/\"rxvt\"/"urxvt"/' doc/rxvt-tabbed install -Dm 755 doc/rxvt-tabbed "${pkgdir}/usr/bin/urxvt-tabbed" # install freedesktop menu install -Dm644 ../${pkgname}.desktop \ "${pkgdir}/usr/share/applications/${pkgname}.desktop" }