1 # Contributor: Giovanni Scafora <linuxmania@gmail.com>
6 pkgdesc="The fastest validating XML parser available for Python"
8 url="http://www.reportlab.org/pyrxp.html"
11 makedepends=('subversion')
17 _svntrunk=http://svn.reportlab.com/svn/public/pyRXP/trunk/src
22 msg "Connecting to SVN server..."
23 msg "Checking out $_svnmod"
24 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26 msg "SVN checkout done or server timeout"
27 msg "Starting build..."
28 cp -r ../$_svnmod ../$_svnmod-build
30 sed -i -e "s:self->srcName = NULL:(self->srcName = NULL):g" pyRXP.c
31 python2 setup.py install --root=$startdir/pkg --prefix=/usr
32 rm -rf $startdir/src/$_svnmod-build