gpyfsa/pkg/archlinux/PKGBUILD
2012-07-15 20:45:59 +00:00

27 lines
803 B
Bash

# Maintainer : a-Sansara <a-sansara@clochardprod.net>
# Contributor:
pkgname=gpyfsa
pkgver=0.34
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=('7b91f7587b75a4a2abc59cb487bd7f01')
# 0.33
# 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
}