updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / python-starpy / PKGBUILD
blobbe1e9d8c73b83a7995ba453944c698d95c1d14ab
1 # Contributor: Maurizio Porrato <maurizio.porrato@gmail.com>
2 pkgname=python-starpy
3 pkgver=1.0.0a13
4 pkgrel=2
5 pkgdesc="Twisted Protocols for interaction with Asterisk PBX"
6 license=('custom:"StarPy License"')
7 url="http://www.vrplumber.com/programming/starpy/"
8 source=("http://downloads.sourceforge.net/starpy/starpy-$pkgver.tar.gz")
9 md5sums=('00661caec56e54974a804daf5d2f172d')
10 arch=(any)
11 makedepends=('python2-distribute')
12 depends=('twisted' 'python-basicproperty')
14 build() {
15   cd $srcdir/starpy-$pkgver
16   python2 setup.py install --prefix=/usr --root=$startdir/pkg --optimize=1
17   find $pkgdir -type d -name examples -or -name doc -or -name .svn | xargs rm -rf
18   install -Dm 644 $srcdir/starpy-$pkgver/license.txt $pkgdir/usr/share/licenses/python-starpy/license