updated on Fri Jan 20 20:16:25 UTC 2012
[aur-mirror.git] / gm-notify / PKGBUILD
blob81b344a588d57c394e9f23658aef4d7f0f1dc34d
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=gm-notify
3 pkgver=0.10.3
4 pkgrel=1
5 pkgdesc="A simple GMail Notifier which takes advantages of the new and nice notify-osd and indicator-applet"
6 arch=('any')
7 url="https://launchpad.net/gm-notify"
8 license=('GPL')
9 depends=('gstreamer0.10-python' 'python2-gconf' 'python-gnomekeyring' 'python-notify' 'libindicate' 'twisted')
10 true && depends=('gstreamer0.10-python' 'python2-gconf' 'python-gnomekeyring' 'python-notify' 'libindicate-gtk2' 'twisted')
11 install=$pkgname.install
12 source=(http://launchpad.net/$pkgname/0.x/$pkgver/+download/$pkgname-$pkgver.tar.gz)
13 md5sums=('ae012995b75dd63599fcb2cd7356267a')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
17   sed -i 's@^#!.*python$@#!/usr/bin/python2@' gtalk.py
19   python2 setup.py build
22 package() {
23   cd "$srcdir/$pkgname-$pkgver"
25   python2 setup.py install --root=$pkgdir/ --optimize=1
27   mv "$pkgdir/etc/gconf" "$pkgdir/usr/share"
28   rm -r "$pkgdir/etc"