1 # Maintainer: Leandro Lovisolo <cafesolo@gmail.com>
2 pkgname=gnome-awesome-applet
5 pkgdesc="GNOME applet to interact with the Awesome window manager"
6 url="http://upsilon.cc/~zack/hacking/software/gnome-awesome-applet/"
8 depends=(python2 awesome gnome-panel)
10 source=(http://upsilon.cc/~zack/hacking/software/$pkgname/$pkgname-$pkgver.tar.gz)
11 md5sums=(58df905d26d133875cc6e9c093e86171)
14 cd "$srcdir/$pkgname-$pkgver"
17 export PYTHON=/usr/bin/python2
18 export PYTHON_BIN=$PYTHON
19 ./configure --prefix=/usr
22 echo -e "#\x21/usr/bin/python2" > gnome-awesome-applet.new
23 tail -n +2 gnome-awesome-applet >> gnome-awesome-applet.new
24 rm gnome-awesome-applet
25 mv gnome-awesome-applet.new gnome-awesome-applet
26 chmod ugo+x gnome-awesome-applet
29 python2 setup.py install --root=$startdir/pkg