updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / python-ptt / PKGBUILD
blob6577280ccd333c1577cc7bfde987439a68de16f5
1 # Maintainer: Mike Sampson <mike at sambodata dot com>
3 pkgname=python-ptt
4 pkgver=1.4.2
5 pkgrel=2
6 pkgdesc="Includes a Twitter API, command-line tool, and IRC bot."
7 arch=(any)
8 url="http://mike.verdone.ca/twitter/"
9 source=("http://pypi.python.org/packages/source/t/twitter/twitter-$pkgver.tar.gz" 
10         "LICENSE")
11 md5sums=('c8bd33e9ff49ea9c51b6a1cc6bfcbf7b'
12          'a5da3e25967f8405eb578fa3ab7f4098')
13 license=('MIT')
14 depends=('python2' 'python2-distribute')
15 optdepends=('python-irclib: ircbot support')
16 makedepends=()
17 provides=()
18 conflicts=()
19 replaces=()
20 backup=()
21 options=(!emptydirs)
22 install=
24 build() {
25     cd $srcdir/twitter-$pkgver
26     python2 setup.py install --root=$pkgdir/ --optimize=1
28     install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE