Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD

By: a guest on Jun 25th, 2012  |  syntax: Bash  |  size: 2.08 KB  |  views: 75  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Christian Brassat <crshd@mail.com>
  2. # Contributor: Daniel Micay <danielmicay@gmail.com>
  3. # Contributor: Angel Velasquez <angvp@archlinux.org>
  4. # Contributor: tobias <tobias@archlinux.org>
  5. # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
  6. # Contributer: Magnus Woldrich <magnus@trapd00r.se>
  7.  
  8. pkgname=rxvt-unicode-256xresources
  9. _pkgname=rxvt-unicode
  10. pkgver=9.15
  11. pkgrel=1
  12. pkgdesc="Unicode enabled rxvt-clone terminal emulator (urxvt) with layout/font-width patches and support for 256 Xresource colors"
  13. arch=('i686' 'x86_64')
  14. url="http://software.schmorp.de/pkg/rxvt-unicode.html"
  15. license=('GPL')
  16. depends=('gcc-libs' 'libxft' 'gdk-pixbuf2')
  17. optdepends=('perl: lots of utilities' 'gtk2-perl: to use the urxvt-tabbed')
  18. source=(http://dist.schmorp.de/rxvt-unicode/$_pkgname-$pkgver.tar.bz2
  19.         $_pkgname.desktop
  20.         font-width-fix.patch
  21.         256color.patch)
  22. provides=(rxvt-unicode)
  23. conflicts=(rxvt-unicode)
  24. md5sums=('15595aa326167ac5eb68c28d95432faf'
  25.          '3de6c13126a45bc3bc9f6bba077a1311'
  26.          'df0c3a8b6bb0578d1b91e4081c47881c'
  27.          'fb78c2ecf87626962734320cc2bb7ab1')
  28.  
  29. build() {
  30.   cd "$srcdir/$_pkgname-$pkgver"
  31.   patch -p0 -i ../font-width-fix.patch
  32.   patch -p0 -i ../256color.patch
  33.   ./configure --prefix=/usr \
  34.     --with-terminfo=/usr/share/terminfo \
  35.     --enable-256-color \
  36.     --enable-font-styles \
  37.     --enable-xim \
  38.     --enable-keepscrolling \
  39.     --enable-selectionscrolling \
  40.     --enable-smart-resize \
  41.     --enable-pixbuf \
  42.     --enable-transparency \
  43.     --enable-utmp \
  44.     --enable-wtmp \
  45.     --enable-lastlog \
  46.     --enable-frills
  47.   make
  48. }
  49.  
  50. package() {
  51.   cd "$srcdir/$_pkgname-$pkgver"
  52.   install -d "$pkgdir/usr/share/terminfo"
  53.   export TERMINFO="$pkgdir/usr/share/terminfo"
  54.   make DESTDIR="$pkgdir" install
  55.  # install the tabbing wrapper ( requires gtk2-perl! )
  56.   sed -i 's/\"rxvt\"/"urxvt"/' doc/rxvt-tabbed
  57.   install -Dm 755 doc/rxvt-tabbed "$pkgdir/usr/bin/urxvt-tabbed"
  58.  # install freedesktop menu
  59.   install -Dm644 ../$_pkgname.desktop \
  60.     "$pkgdir/usr/share/applications/$_pkgname.desktop"
  61. }