# $Id: PKGBUILD 68942 2012-04-06 10:19:39Z seblu $ # Maintainer: Sébastien Luttringer # Contributor: Angel Velasquez # Contributor: tobias # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org pkgname=rxvt-unicode pkgver=9.15 pkgrel=2 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' 'perl') optdepends=('gtk2-perl: to use the urxvt-tabbed') source=( "http://dist.schmorp.de/rxvt-unicode/$pkgname-$pkgver.tar.bz2" 'urxvt.desktop' 'urxvtc.desktop' 'urxvt-tabbed.desktop' ) md5sums=('15595aa326167ac5eb68c28d95432faf' '88d8786d74b819450adf722180db09fd' 'bebf5b6b399b74b557fcedbdb47cc387' '2604896bb107fbb5511bfd6f46d65894') build() { cd $pkgname-$pkgver ./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 $pkgname-$pkgver # workaround terminfo installation export TERMINFO="$pkgdir/usr/share/terminfo" install -d "$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 for _f in urxvt urxvtc urxvt-tabbed; do install -Dm644 ../$_f.desktop "$pkgdir/usr/share/applications/$_f.desktop" done } # vim:set ts=2 sw=2 ft=sh et: