updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / gozerbot / PKGBUILD
blob1fc1924a62c0c8d333ebe17244c66692aacc052f
1 # Contributor: Wijnand Modderman <aur@tehmaze.com>
2 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
3 # Contributor: Jakub Vitak <mainiak at gmail dot com>
5 pkgname=gozerbot
6 pkgver=0.9.1.3all
7 pkgrel=2
8 pkgdesc="gozerbot a python irc and jabber bot"
9 url="http://www.gozerbot.org/"
10 license="BSD"
11 depends=('python' 'python-sqlalchemy' 'python-simplejson')
12 optdepends=('xmlpppy: support jabber'
13  'mysql-python: support MySQL backend')
14 arch=('any')
15 install=
16 _aur_url='http://aur.archlinux.org/packages/gozerbot/gozerbot'
17 source=("$_aur_url/setup.cfg" "http://gozerbot.googlecode.com/files/$pkgname-$pkgver.tar.gz")
19 build() {
20   cd $srcdir/$pkgname-$pkgver
21   cp -v $srcdir/setup.cfg .
22   python setup.py install --root=$pkgdir
23   install -d $pkgdir/usr/share/man/man1
24   cp -v $srcdir/$pkgname-$pkgver/man/gozerbot.1 $pkgdir/usr/share/man/man1
26 md5sums=('5dfa23196795ec5c18b9afe6b4d4ba28'
27          'f56ccb6eaf059dae17a3b6c681c4ca54')