updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / pyswip / PKGBUILD
blobc8281673978ac8b0720542cd537772d0875a5bb1
1 # Maintainer: p2k <patrick.schneider@uni-ulm.de>
2 pkgname=pyswip
3 pkgver=0.2.2
4 pkgrel=1
5 pkgdesc="Python wrapper for SWI-Prolog"
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/pyswip/"
8 license="GPL"
9 source=(http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz)
10 depends=('python2' 'swi-prolog')
11 makedepends=('setuptools')
12 md5sums=('2ff192e10e1762297eba597cb2a0a9da')
14 build() {
15         cd "${srcdir}/${pkgname}-${pkgver}"
16         python setup.py build
19 package() {
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}"