gpyfsa/pkg/archlinux/PKGBUILD

25 lines
749 B
Bash
Raw Normal View History

2012-07-14 15:39:02 +00:00
# Maintainer : a-Sansara <a-sansara@clochardprod.net>
# Contributor:
pkgname=gpyfsa
pkgver=0.33
pkgrel=1
pkgdesc='a gtk+ GUI front-end of fsarchiver with mounting facilities'
arch=('any')
url='http://sourceforge.net/projects/gpyfsa/'
license=('GPL3')
depends=('gksu' 'python2' 'pygtk' 'desktop-file-utils' 'fsarchiver>=0.6.8')
install="${pkgname}.install"
source=("http://sourceforge.net/projects/gpyfsa/files/packages/archlinux/${pkgname}-${pkgver}.tar.bz2/download")
md5sums=('0e6f2f47d11e7723dbe3fcf14a8c4465')
build() {
cd "${srcdir}/${pkgname}"
sed -i -e "s|env python$|env python2|" GPyFSA/*.py
python2 setup.py build
}
package() {
cd "${srcdir}/${pkgname}"
python2 setup.py install --root="${pkgdir}" --prefix=/usr --optimize=1
}