1 # Contributor: Oleg Dashevskii <olegdashevskii@gmail.com>
5 pkgdesc="Plugin-driven, DBus based notification system written for Gnome"
7 url="http://mumbles-project.org"
10 depends=('dbus-python' 'pygtk' 'pycairo' 'setuptools')
19 source=(http://downloads.sourceforge.net/mumbles/${pkgname}_$pkgver-1.tar.gz paths.patch)
21 md5sums=('a6b24223dc23e5022332586ffc454e84' '6e13a9633548240becc966d84b977b95')
25 cd "$srcdir/$pkgname-$pkgver"
27 # for _plugin in src/plugins/eggs/*; do
28 # _init=$_plugin/src/__init__.py
29 # mv $_init ${_init}.old
30 # echo "from mumbles import MumblesPlugin" > $_init
31 # cat ${_init}.old >> $_init
36 # python setup.py bdist_egg
40 patch -Np1 -i ../paths.patch || return 1
41 python setup.py install --root="$pkgdir" || return 1
42 mv $pkgdir/usr/lib/python2.5/site-packages/src $pkgdir/usr/lib/python2.5/site-packages/mumbles
43 rm $pkgdir/usr/lib/python2.5/site-packages/mumbles-${pkgver}-py2.5.egg-info