1. # Contributor: Gökmen Görgen <gkmngrgn@gmail.com>
  2. # Contributor: Baurzhan Muftakhidinov <baurthefirst (at) gmail (dot) com>
  3.  
  4. pkgname=pyparted
  5. pkgver=3.4
  6. pkgrel=1
  7. pkgdesc="Python bindings for libparted"
  8. arch=('any')
  9. url="https://fedorahosted.org/pyparted"
  10. license=('GPL2')
  11. depends=('python' 'parted' 'python-decorator')
  12. source=(https://fedorahosted.org/releases/p/y/$pkgname/$pkgname-$pkgver.tar.gz)
  13. md5sums=('cc064f12110a6f0d0c236ee7b18fee88')
  14.  
  15. build() {
  16. cd $startdir/src/$pkgname-$pkgver
  17. # python2 fix
  18. export PYTHON=python2
  19. ./configure --prefix=/usr
  20. make
  21. make DESTDIR=$startdir/pkg install
  22. }