# Contributor: Gökmen Görgen <gkmngrgn@gmail.com>
# Contributor: Baurzhan Muftakhidinov <baurthefirst (at) gmail (dot) com>
pkgname=pyparted
pkgver=3.4
pkgrel=1
pkgdesc="Python bindings for libparted"
arch=('any')
url="https://fedorahosted.org/pyparted"
license=('GPL2')
depends=('python' 'parted' 'python-decorator')
source=(https://fedorahosted.org/releases/p/y/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('cc064f12110a6f0d0c236ee7b18fee88')
build() {
cd $startdir/src/$pkgname-$pkgver
# python2 fix
export PYTHON=python2
./configure --prefix=/usr
make
make DESTDIR=$startdir/pkg install
}