# $Id: PKGBUILD 101980 2013-12-03 09:48:38Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Jonathan Wiersma pkgname=libvirt-python pkgver=1.2.5 pkgrel=1 pkgdesc="libvirt python binding" arch=('i686' 'x86_64') url="http://libvirt.org/" license=('LGPL') depends=('python2' 'libvirt') makedepends=('git') options=('emptydirs') install="libvirt-python.install" source=("http://libvirt.org/sources/python/libvirt-python-$pkgver.tar.gz") md5sums=('d155184bd2eba00be45f6d5421082884') build() { cd "$srcdir/$pkgname-$pkgver" python2 setup.py build } package() { cd "$srcdir/$pkgname-$pkgver" python2 setup.py install --root=$pkgdir }