1 # Contributor: Dan Serban
6 pkgdesc="A graphical file system table editor"
8 url="http://www.diffingo.com/oss/fwfstab"
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')
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
23 ./configure --prefix=/usr || 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