# Maintainer: jjacky # Contributor: Angel Velasquez # Contributor: tobias # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org # Contributor: Hermann Mayer # clear.patch based on patch by rlblaster: https://bbs.archlinux.org/viewtopic.php?id=129302 _pkgname=rxvt-unicode pkgname=${_pkgname}-better-wheel-scrolling-unicode3 pkgver=9.30 pkgrel=1 pkgdesc="Same like rxvt-unicode-better-wheel-scrolling + enabled frills+unicode3 to support (vim) powerline/airline (http://powerline.readthedocs.io/en/master/troubleshooting.html#urxvt-unicode3-and-frills)" arch=('i686' 'x86_64') url="http://software.schmorp.de/pkg/rxvt-unicode.html" license=('GPL') depends=('rxvt-unicode-terminfo' 'gcc-libs' 'libxft' 'gdk-pixbuf2') optdepends=('perl: lots of utilities') # 'gtk2-perl: to use the urxvt-tabbed') makedepends=('perl-pod-parser') provides=($_pkgname) conflicts=($_pkgname ${_pkgname}-better-wheel-scrolling) source=(http://dist.schmorp.de/rxvt-unicode/${_pkgname}-${pkgver}.tar.bz2 \ ${_pkgname}.desktop clear.patch secondaryWheel.patch) md5sums=('793ae8d59cf911fc6a93254234933d25' 'af8e6ad4cd2d33c26f8df6a838685332' 'edeed8f00d5917bc002b2e10ba7e900c' 'c73b3a470a02da0bf19ad6e9b83d0696') sha1sums=('700265a255eedf0f553cadfe5484bf71f8fb74c2' '9a31b46324c0be44fb97be0828e1ead2311b3f9f' 'fc77f75bd2d51baa4abef81983dab044d7f498ce' 'e50503f786deb6d6c2b6b8bcf486bf509c14af71') prepare() { cd "${srcdir}/${_pkgname}-${pkgver}" patch -p1 -i ../clear.patch patch -p1 -i ../secondaryWheel.patch } build() { cd "${srcdir}/${_pkgname}-${pkgver}" ./configure --prefix=/usr \ --enable-256-color \ --enable-font-styles \ --enable-xim \ --enable-keepscrolling \ --enable-selectionscrolling \ --enable-smart-resize \ --enable-pixbuf \ --enable-transparency \ --disable-utmp \ --disable-wtmp \ --enable-lastlog \ --enable-unicode3 \ --enable-frills make alldoc make } package() { cd "${srcdir}/${_pkgname}-${pkgver}" export TERMINFO=/dev/null make DESTDIR="${pkgdir}" install # # for utmp/wtmp support # chgrp utmp $pkgdir/usr/bin/urxvt # chmod g+s $pkgdir/usr/bin/urxvt # # 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" }