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

[KUPFER] By SpepS

By: a guest on Oct 19th, 2010  |  syntax: None  |  size: 1.14 KB  |  views: 57  |  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: D. Can Celasun <dcelasun[at]gmail[dot]com>
  2. # Contributor: Asa Marco <marcoasa90[at]gmail[.]com>
  3. # Contributor: SpepS <dreamspepser at yahoo dot it>
  4.  
  5. pkgname=kupfer
  6. pkgver=v202
  7. pkgrel=4
  8. pkgdesc="Launcher application written in python. Similar to Gnome-Do / Launchy"
  9. arch=('any')
  10. url="http://kaizer.se/wiki/kupfer/"
  11. license=('GPL')
  12. depends=('pyxdg' 'pygtk' 'dbus-python'  'python-keybinder' 'python-keyring'
  13.          'hicolor-icon-theme' 'shared-mime-info')
  14. optdepends=('gnome-python-desktop: enables all plugins and gnome integration'
  15.             'python-wnck: tracks running applications'
  16.             'realpath: nautilus integration')
  17. makedepends=('intltool')
  18. source=(http://kaizer.se/publicfiles/kupfer/$pkgname-$pkgver.tar.gz)
  19. md5sums=('461a43cc0d23b4490fa0c2166a64c0ab')
  20. install=kupfer.install
  21.  
  22. build() {
  23.  
  24.   cd "$srcdir/$pkgname-$pkgver"
  25.  
  26.   export PYTHON="/usr/bin/python2"
  27.  
  28.   sed \
  29.         -e "s_env python_&2_" \
  30.         -e "s_bin/python_&2_" \
  31.         -i `grep -rlE "(env python|bin/python)" .`
  32.  
  33.   ./waf configure --prefix=/usr
  34.   ./waf
  35. }
  36.  
  37. package() {
  38.  
  39.   cd "$srcdir/$pkgname-$pkgver"
  40.  
  41.   ./waf install -f --destdir="$pkgdir"
  42. }