1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=python2-xcaplib
8 pkgdesc="A python library for managing XML documents on XCAP server"
11 url="http://download.ag-projects.com/SipClient"
13 source=("http://download.ag-projects.com/SipClient/$_p-$pkgver.tar.gz")
14 md5sums=('7c1dcb5995efcd446c835ac8fc8441ac')
17 cd "$srcdir/$_p-$pkgver"
19 sed -i "s|\(env python\).*|\12|" `grep -rl "env python" .`
21 python2 setup.py build
25 cd "$srcdir/$_p-$pkgver"
26 python2 setup.py install --root="$pkgdir" --optimize=1
29 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"