pkgname=python-parted
__pkgname=pyparted
pkgver=2.0.12
pkgrel=1
pkgdesc="Python bindings for libparted"
arch=(i686 x86_64)
license=('LGPL' 'MPL')
depends=('python' 'parted')
options=('!libtool')
source=(https://fedorahosted.org/releases/p/y/pyparted/pyparted-${pkgver}.tar.gz)
url="https://fedorahosted.org/pyparted/"

build() {
  cd "${srcdir}/${__pkgname}-${pkgver}"
  ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
}