1 # Maintainer: chris_L <chrislcenter dash mamoru at yahoo.com dot mx>
2 # Contributor: Miguel Useche <migueluseche@skatox.com>
3 # Contributor: Pat <whaevr@archlinux.us>
7 pkgdesc="A consolidated menu for gnome2,awn,cairo-dock,docky,etc that brings eye candy to the world of the Gnome menu's."
9 url="https://launchpad.net/gnomenu"
11 depends=('python2' 'pyxdg' 'pycairo' 'pyxml' 'pygtk')
12 optdepends=('python-xlib' 'python-numpy' 'gettext')
13 makedepends=('python2-distribute')
14 source=("http://launchpad.net/gnomenu/trunk/${pkgver}/+download/gnomenu-${pkgver}.tar.gz")
15 md5sums=('f8b3cd0c342f5e01be32acfbc335b8be')
19 sed -i "s|python|python2|" Makefile
23 export PYTHON=/usr/bin/python2
25 make DESTDIR=${pkgdir} install || return 1
28 sed -i -e "s|#!/usr/bin/python$|#!/usr/bin/python2|" \
29 -e "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" $(find ./ -name '*.py')
30 sed -i "s|python\ -u|python2\ -u |g" usr/bin/GnoMenu.py