# Maintainer: Von Random # Contributor: Adriaan Zonnenberg # Contributor: Florian Bruhin (The-Compiler) # Contributor: Daniel Micay # Contributor: Sébastien Luttringer # Contributor: Angel Velasquez # Contributor: tobias # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org _pkgname=rxvt-unicode pkgname=('rxvt-unicode-cvs' 'rxvt-unicode-terminfo-cvs') pkgver=$(date +%Y%m%d) pkgrel=1 arch=('x86_64') url='http://software.schmorp.de/pkg/rxvt-unicode.html' license=('GPL') makedepends=('libxft' 'perl' 'startup-notification' 'libnsl' 'gdk-pixbuf2' 'cvs') source=( urxvt.desktop urxvtc.desktop urxvt-tabbed.desktop font-width-fix.patch line-spacing-fix.patch terminfo-truecolor.patch urxvt-sgr.patch ) sha256sums=( 5f9c435d559371216d1c5b49c6ec44bfdb786b12d925d543c286b0764dea0319 91536bb27c6504d6cb0d33775a0c4709a4b439670b900f0c278c25037f19ad66 ccd7c436e959bdc9ab4f15801a67c695b382565b31d8c352254362e67412afcb 686770fe4e8d6bb0ba497ad2e1f217d17515f2544d80abe76496c63ead2bfaa4 546a388d0595404a59c71c3eaeba331031032a75f96c57e9a860f27bbd7ebfcc 4ce5ebcff0dd148e2b78efa8a113763eb72d23a963159da3f2e336c2f065c52b f36110dce2dce4d6e275410de820f314b72a02dbad08f637c64b0da769c0c8f4 ) prepare() { cvs -z3 -d :pserver:anonymous@cvs.schmorp.de/schmorpforge co ${_pkgname} cd ${_pkgname} patch -p0 -i ../font-width-fix.patch patch -p0 -i ../line-spacing-fix.patch patch -p0 -i ../urxvt-sgr.patch patch -p0 -i ../terminfo-truecolor.patch } build() { cd ${_pkgname} # we disable smart-resize (FS#34807) # do not specify --with-terminfo (FS#46424) ./configure \ --prefix=/usr \ --enable-256-color \ --enable-combining \ --enable-fading \ --enable-font-styles \ --enable-iso14755 \ --enable-keepscrolling \ --enable-lastlog \ --enable-mousewheel \ --enable-next-scroll \ --enable-perl \ --enable-pointer-blank \ --enable-rxvt-scroll \ --enable-selectionscrolling \ --enable-slipwheeling \ --disable-smart-resize \ --enable-startup-notification \ --enable-transparency \ --enable-unicode3 \ --enable-utmp \ --enable-wtmp \ --enable-xft \ --enable-xim \ --enable-xterm-scroll \ --disable-frills make } package_rxvt-unicode-cvs() { pkgdesc='A unicode enabled rxvt-clone terminal emulator (urxvt) - latest cvs revision' depends=('rxvt-unicode-terminfo-cvs' 'libxft' 'perl' 'startup-notification' 'libnsl') optdepends=('gtk2-perl: to use the urxvt-tabbed') provides=('rxvt-unicode') conflicts=('rxvt-unicode') # install freedesktop menu for _f in urxvt urxvtc urxvt-tabbed; do install -Dm 644 ${_f}.desktop "${pkgdir}/usr/share/applications/${_f}.desktop" done cd $_pkgname # workaround terminfo installation export TERMINFO="${srcdir}/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" } package_rxvt-unicode-terminfo-cvs() { provides=('rxvt-unicode-terminfo') conflicts=('rxvt-unicode-terminfo') pkgdesc='Terminfo files for urxvt' conflict=('rxvt-unicode<=9.18-6') install -dm 755 "${pkgdir}/usr/share/" mv terminfo "${pkgdir}/usr/share/" } # vim: ts=2 sw=2 et: