Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Nov 4th, 2010  |  syntax: None  |  size: 0.62 KB  |  hits: 91  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }