updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python26-msrplib / PKGBUILD
blobfb957803c1635fac119dca10f6af6250b563ad1c
1 # Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com>
3 pkgname=python26-msrplib
4 _pkgname=python-msrplib
5 pkgver=20110513
6 pkgrel=1
7 pkgdesc="A python client library for the MSRP client"
8 license=('MIT')
9 arch=('any')
10 url="http://download.ag-projects.com/SipClient"
11 depends=('python26')
12 makedepends=('darcs')
14 _darcstrunk="http://devel.ag-projects.com/repositories"
15 _darcsmod="python-msrplib"
17 build() {
18  if [[ -d $_darcsmod/_darcs ]]; then
19   msg "Retrieving missing patches"
20   cd $_darcsmod
21   darcs pull -a $_darcstrunk/$_darcsmod
22  else
23   msg "Retrieving complete sources"
24   darcs get --lazy $_darcstrunk/$_darcsmod
25   cd $_darcsmod
26  fi
28  python26 setup.py install --root="$pkgdir" --optimize=1