updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / fwfstab / PKGBUILD
blobdc7f6de303d68a8abaab96ed6de8de7521cb94be
1 # Contributor: Dan Serban
3 pkgname=fwfstab
4 pkgver=0.04
5 pkgrel=1
6 pkgdesc="A graphical file system table editor"
7 arch=(any)
8 url="http://www.diffingo.com/oss/fwfstab"
9 license=(GPLv2)
10 depends=(python2 pygtk)
11 #depends=(python2 pygtk pyparted usermode)
12 makedepends=(automake gettext intltool rpmextract)
13 source=(http://download.fedora.redhat.com/pub/fedora/linux/releases/14/Everything/source/SRPMS/fwfstab-0.04-0.2.rc1.fc14.src.rpm)
14 md5sums=('bb021b418f49ad1849c385cf12689578') 
16 build()
18   cd $srcdir
19   rpmextract.sh fwfstab-0.04-0.2.rc1.fc14.src.rpm
20   bsdtar -xvf fwfstab-0.04rc1.tar.gz
21   export PYTHON=/usr/bin/python2
22   cd fwfstab-0.04rc1
23   ./configure --prefix=/usr || return 1
24   make || return 1
25   make DESTDIR=$pkgdir install
26   rm -rf $pkgdir/usr/bin
27   sed -i 's#/usr/share/local#/usr#' $pkgdir/usr/sbin/$pkgname
28   sed -i 's/^python /python2 /' $pkgdir/usr/sbin/$pkgname
29   sed -i 's/python$/python2/'   $pkgdir/usr/share/$pkgname/$pkgname-runapp.py