1 # Contributor: Maurizio Porrato <maurizio.porrato@gmail.com>
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')
11 makedepends=('python2-distribute')
12 depends=('twisted' 'python-basicproperty')
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