updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / pyamanith / PKGBUILD
blob4fb246c9f19fe912f3701f940e1c6f6a0ad05784
1 # Contributor: Allan McRae <mcrae_allan@hotmail.com>
3 pkgname=pyamanith
4 pkgver=0.3.35
5 pkgrel=1
6 pkgdesc="Python wrapper for the Amanith 2D vector graphics library"
7 arch=('i686' 'x86_64')
8 url="http://unrealvoodoo.org/hiteck/projects/pyamanith/"
9 license=('GPL')
10 depends=('python' 'amanith')
11 makedepends=('swig')
12 source=(http://muksuluuri.ath.cx/~skyostil/projects/pyamanith/dist/PyAmanith-${pkgver}.tar.gz
13         pyamanith-0.3.35-build.patch)
14 md5sums=('eb833bc3b6ac6c30eb7252756dde3786'
15          '45a396d6d82a3a73e8adedf1b51e9836')
17 build() {
18   cd ${startdir}/src/PyAmanith-${pkgver}
19   
20   patch -Np0 -i ../pyamanith-0.3.35-build.patch         # updated version Gentoo patch
21   sed -i "/include/s#build/amanith/include/##" headers.i
22   
23   python setup.py install --root=${startdir}/pkg