updated on Mon Jan 23 16:10:15 UTC 2012
[aur-mirror.git] / odfpy-svn / PKGBUILD
blobf1ed8c5fb450e7f1bc047c2b6c51a3094528b6f4
1 # Contributor: Geoff Teale <tealeg@member.fsf.org>
2 pkgname=odfpy-svn
3 pkgver=10
4 pkgrel=1
5 pkgdesc="A complete API for OpenDocument in Python"
6 arch=('i686' 'x86_64')
7 url="http://opendocumentfellowship.com/projects/odfpy"
8 license=('GPL')
9 depends=('python')
10 provides=('odfpy')
11 conflicts=('odfpy')
12 source=()
13 md5sums=()
15 _svntrunk=https://svn.forge.osor.eu/svn/odfpy/trunk
16 _svnmod=odfpy
18 build() {
19   cd $startdir/src
20   touch ~/.subversion
22   svn co $_svntrunk $_svnmod
24   msg "SVN checkout done or server timeout"
25   msg "Starting make..."
27   cp -R $_svnmod $_svnmod-build
28   cd $_svnmod-build
30   python setup.py install --root=${pkgdir} || return 1