updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mumbles / PKGBUILD
blob0963b7bbb6b899813877f25b6c42531372eb823d
1 # Contributor: Oleg Dashevskii <olegdashevskii@gmail.com>
2 pkgname=mumbles
3 pkgver=0.4
4 pkgrel=2
5 pkgdesc="Plugin-driven, DBus based notification system written for Gnome"
6 arch=(i686 x86_64)
7 url="http://mumbles-project.org"
8 license=('GPL')
9 groups=()
10 depends=('dbus-python' 'pygtk' 'pycairo' 'setuptools')
11 makedepends=()
12 optdepends=()
13 provides=()
14 conflicts=()
15 replaces=()
16 backup=()
17 options=()
18 install=
19 source=(http://downloads.sourceforge.net/mumbles/${pkgname}_$pkgver-1.tar.gz paths.patch)
20 noextract=()
21 md5sums=('a6b24223dc23e5022332586ffc454e84' '6e13a9633548240becc966d84b977b95')
24 build() {
25   cd "$srcdir/$pkgname-$pkgver"
26   
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
32 #       rm ${_init}.old
34 #       _savedir=`pwd`
35 #       cd $_plugin
36 #       python setup.py bdist_egg
37 #       cd $_savedir
38 #  done
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