updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / python2-pysvg / PKGBUILD
blob558afd417a57254d16fa70f76ac9961850d6c474
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 _pkg=pySVG
4 pkgname=python2-pysvg
5 pkgver=0.2.1
6 pkgrel=1
7 pkgdesc="A pure Python library to create/load and manipulate SVG documents."
8 arch=(i686 x86_64)
9 url="http://codeboje.de/pysvg/"
10 license=('GPL')
11 depends=('python2')
12 provides=('pysvg')
13 conflicts=("$pkgname-svn")
14 source=("http://pysvg.googlecode.com/files/$_pkg.zip")
15 md5sums=('c0391a3a281daceaddbd3cc2f52c34d3')
17 build() {
18   cd "$srcdir/$_pkg"
20   # python2 fix
21   sed -i "s|\(bin/python\).*|\12|" `grep -rl "bin/python" .`
23   python2 setup.py build
26 package() {
27   cd "$srcdir/$_pkg"
29   python2 setup.py install --root="$pkgdir/"
32 # vim:set ts=2 sw=2 et: