1 # Maintainer: p2k <patrick.schneider@uni-ulm.de>
5 pkgdesc="Python wrapper for SWI-Prolog"
7 url="http://code.google.com/p/pyswip/"
9 source=(http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz)
10 depends=('python2' 'swi-prolog')
11 makedepends=('setuptools')
12 md5sums=('2ff192e10e1762297eba597cb2a0a9da')
15 cd "${srcdir}/${pkgname}-${pkgver}"
20 cd "${srcdir}/${pkgname}-${pkgver}"
21 python setup.py install --prefix=/usr --root=${pkgdir}
22 mkdir -p "${pkgdir}/usr/share/${pkgname}"
23 cp -R README examples "${pkgdir}/usr/share/${pkgname}"