# # Apps Packages for Chakra, part of chakra-project.org # # Maintainer: Daniele Cocca # _pkgname=python-xcaplib pkgname=python2-xcaplib pkgver=20120826 pkgrel=1 pkgdesc="Client for managing full or partial XML documents on XCAP servers (RFC 4825)." arch=('any') url="http://openxcap.org/" license=('LGPL') depends=('python2') makedepends=('darcs') _darcstrunk="http://devel.ag-projects.com/repositories" _darcsmod="${_pkgname}" build() { msg "Starting Darcs pull..." cd "${srcdir}" if [ -d "${_darcsmod}/_darcs" ]; then (cd "${_darcsmod}" && darcs pull -a) else darcs get "${_darcstrunk}/${_darcsmod}" "${_darcsmod}" fi msg "Darcs pull done (or server timeout)." } package() { cd "${srcdir}/${_darcsmod}" python2 setup.py install --prefix=/usr --root="${pkgdir}" || return 1 } # vim:set ts=2 sw=2 et: