updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / classicmenu-indicator / PKGBUILD
blob743e3d3ac896a83347f56594aa8e26e2f802d085
1 # Maintainer: crazyelf5
3 pkgname=classicmenu-indicator
4 pkgver=0.07
5 pkgrel=1
6 pkgdesc="An indicator that displays the main menu from Gnome2/Gnome Classic"
7 arch=('any')
8 url="http://www.florian-diesch.de/software/classicmenu-indicator"
9 license=('GPL')
10 depends=('python2' 'libappindicator' 'gnome-menus' 'pygtk' 'python2-gobject2' 'glib2')
11 source=($url/dist/$pkgname-$pkgver.tar.gz
12         $pkgname.desktop)
13 md5sums=('af0834f4d4779c9d9273d33ba663ed8a'
14          'd12a85264c53752daf4da3e783d1662e')
16 build() {
17   cd $pkgname-$pkgver
18   
19   # Sed for Python2
20   sed -e "s_env python_&2_;s_bin/python_&2_" \
21       -i `egrep -rl "(env python|bin/python)" .`
22       
23   python2 ./setup.py install --root="$pkgdir/"
24   install -dm755 "$pkgdir/usr/share/applications"
25   install -m644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
28 # vim:set ts=2 sw=2 et: