# $Id: PKGBUILD 122129 2014-11-06 22:56:05Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Hugo Ideler <hugoideler@dse.nl>

pkgname=pystatgrab
pkgver=0.6
pkgrel=1
pkgdesc="Python bindings for libstatgrab"
arch=('i686' 'x86_64')
url="http://www.i-scream.org/pystatgrab"
license=('GPL')
depends=('python2' 'libstatgrab')
source=(ftp://ftp.uk.i-scream.org/pub/i-scream/$pkgname/$pkgname-$pkgver.tar.gz)
sha256sums=('eee0a65e1084628008222223bafdbb3ce66dffd4aa03febb9e918e61ef0d08fe')

package() {
  cd "${srcdir}"/$pkgname-$pkgver

  python2 setup.py build
  python2 setup.py install --prefix="${pkgdir}"/usr
}
