1 # Maintainer: D. Can Celasun <dcelasun[at]gmail[dot]com>
2 # Contributor: Asa Marco <marcoasa90[at]gmail[.]com>
6 pkgdesc="Launcher application written in python. Similar to Gnome-Do / Launchy"
8 url="http://kaizer.se/wiki/kupfer/"
10 depends=('pyxdg' 'pygtk' 'dbus-python' 'python-keybinder' 'python-keyring' 'gtk2>=2.16' 'pygobject>=2.18' 'hicolor-icon-theme' 'shared-mime-info')
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')
12 makedepends=('intltool')
13 optdepends=('python-gdata: Needed by the gmail plugin')
14 source=(http://kaizer.se/publicfiles/kupfer/$pkgname-$pkgver.tar.gz)
15 md5sums=('eb19ec89dce9b87ad98948fe806a2442')
16 install=kupfer.install
18 cd "$srcdir/$pkgname-$pkgver"
20 export PYTHON="/usr/bin/python2"
21 sed -i 's|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|' ./waf
22 sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
23 -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
24 $(find $srcdir/$pkgname-$pkgver -name '*.py')
26 ./waf configure --prefix=/usr
32 cd "$srcdir/$pkgname-$pkgver"
34 ./waf install -f --destdir=$pkgdir