1 # Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
6 pkgdesc='Python wrapper for SWI-Prolog'
8 url='https://github.com/yuce/pyswip'
10 depends=(python swi-prolog)
11 makedepends=(git python-setuptools)
12 source=("git+$url#commit=9e9ca3e0059d156397fb020c2bdaef70f59529a6") # tag: v0.2.10
27 python setup.py install --prefix=/usr --root="$pkgdir"
28 install -d "$pkgdir/usr/share/doc/$pkgname"
29 cp -R examples "$pkgdir/usr/share/doc/$pkgname"
30 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"