diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-07-09 21:04:53 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-07-09 21:04:53 -0300 |
commit | fd5ff7e53a5b8dbabc85ab6e2ff1342b85e155b1 (patch) | |
tree | d2b16d75c64d947545149f37bda7cdb8873a4770 /community/rxvt-unicode/PKGBUILD | |
parent | 7823c9009a845174746fd0da09af46a138481851 (diff) | |
parent | 10aa61ef39e662453e1d817046e359372fe3b326 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/aspell-pl/PKGBUILD
community/gloox/PKGBUILD
community/libircclient/PKGBUILD
community/mashup/PKGBUILD
community/omniorb/PKGBUILD
community/openbox/PKGBUILD
community/patchutils/PKGBUILD
community/rxvt-unicode/PKGBUILD
extra/mesa/PKGBUILD
extra/pygobject2/PKGBUILD
extra/qt5/PKGBUILD
extra/samba/PKGBUILD
extra/tdb/PKGBUILD
extra/transmission/PKGBUILD
extra/vim/PKGBUILD
pcr/python-sfml2/PKGBUILD
pcr/python2-sfml2/PKGBUILD
Diffstat (limited to 'community/rxvt-unicode/PKGBUILD')
-rw-r--r-- | community/rxvt-unicode/PKGBUILD | 40 |
1 files changed, 25 insertions, 15 deletions
diff --git a/community/rxvt-unicode/PKGBUILD b/community/rxvt-unicode/PKGBUILD index 4881e7f10..7a0285a84 100644 --- a/community/rxvt-unicode/PKGBUILD +++ b/community/rxvt-unicode/PKGBUILD @@ -1,18 +1,17 @@ -# $Id: PKGBUILD 91706 2013-05-26 09:26:28Z bluewind $ +# $Id: PKGBUILD 93568 2013-07-05 17:54:59Z seblu $ # Maintainer: Sébastien Luttringer # Contributor: Angel Velasquez <angvp@archlinux.org> # Contributor: tobias <tobias@archlinux.org> # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org -pkgname=rxvt-unicode +pkgbase=rxvt-unicode +pkgname=('rxvt-unicode' 'rxvt-unicode-terminfo') pkgver=9.18 -pkgrel=5 -pkgdesc='An unicode enabled rxvt-clone terminal emulator (urxvt)' +pkgrel=7 arch=('i686' 'x86_64' 'mips64el') url='http://software.schmorp.de/pkg/rxvt-unicode.html' license=('GPL') -depends=('libxft' 'perl' 'startup-notification') -optdepends=('gtk2-perl: to use the urxvt-tabbed') +makedepends=('libxft' 'perl' 'startup-notification') source=( "http://dist.schmorp.de/rxvt-unicode/$pkgname-$pkgver.tar.bz2" 'urxvt.desktop' @@ -32,6 +31,7 @@ prepare() { build() { cd $pkgname-$pkgver + # we disable smart-resize (FS#34807) ./configure \ --prefix=/usr \ --with-terminfo=/usr/share/terminfo \ @@ -49,7 +49,7 @@ build() { --enable-rxvt-scroll \ --enable-selectionscrolling \ --enable-slipwheeling \ - --enable-smart-resize \ + --disable-smart-resize \ --enable-startup-notification \ --enable-transparency \ --enable-unicode3 \ @@ -63,20 +63,30 @@ build() { make } -package() { - pushd $pkgname-$pkgver +package_rxvt-unicode() { + pkgdesc='An unicode enabled rxvt-clone terminal emulator (urxvt)' + depends=('rxvt-unicode-terminfo' 'libxft' 'perl' 'startup-notification') + optdepends=('gtk2-perl: to use the urxvt-tabbed') + + # install freedesktop menu + for _f in urxvt urxvtc urxvt-tabbed; do + install -Dm644 $_f.desktop "$pkgdir/usr/share/applications/$_f.desktop" + done + cd $pkgname-$pkgver # workaround terminfo installation - export TERMINFO="$pkgdir/usr/share/terminfo" + 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" - popd - # install freedesktop menu - for _f in urxvt urxvtc urxvt-tabbed; do - install -Dm644 $_f.desktop "$pkgdir/usr/share/applications/$_f.desktop" - done +} + +package_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:set ts=2 sw=2 et: |