Advertisement
Guest User

kupfer PKGBUILD w/ibus patch

a guest
Nov 2nd, 2010
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.41 KB | None | 0 0
  1. # Maintainer: D. Can Celasun <dcelasun[at]gmail[dot]com>
  2. # Contributor: Asa Marco <marcoasa90[at]gmail[.]com>
  3. pkgname=kupfer
  4. pkgver=v202
  5. pkgrel=3
  6. pkgdesc="Launcher application written in python. Similar to Gnome-Do / Launchy"
  7. arch=('i686' 'x86_64')
  8. url="http://kaizer.se/wiki/kupfer/"
  9. license=('GPL')
  10. depends=('pyxdg' 'pygtk' 'dbus-python' 'gtk2>=2.16' 'pygobject>=2.18' 'hicolor-icon-theme' 'shared-mime-info' 'python-keybinder')
  11. optdepends=('gnome-python-desktop: enables all plugins and gnome integration' 'python-wnck: tracks running applications (part of gnome-python-desktop, free of gnome dependencies)' 'realpath: Required for nautilus integration' 'python-keyring: for gmail and twitter plugins')
  12. makedepends=('intltool')
  13. source=(http://kaizer.se/publicfiles/kupfer/$pkgname-$pkgver.tar.gz
  14. fix_ibus.patch)
  15. md5sums=('461a43cc0d23b4490fa0c2166a64c0ab'
  16.          '4b8f6904d3736b88ff7a3d5e8bf5c3bb')
  17. install=kupfer.install
  18. build() {
  19.   cd "$srcdir/$pkgname-$pkgver" || return 1
  20.   patch -Np1 < ../fix_ibus.patch || return 1
  21.  
  22.   export PYTHON="/usr/bin/python2"
  23.   sed -i 's|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|' ./waf
  24.   sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
  25.   -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
  26.   $(find $srcdir/$pkgname-$pkgver -name '*.py')
  27.  
  28. ./waf configure --prefix=/usr || return 1
  29. ./waf || return 1
  30. ./waf install -f --destdir=$pkgdir || return 1
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement