gpyfsa/pkg/archlinux/PKGBUILD

25 lines
721 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.35
2012-07-14 15:39:02 +00:00
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"
2012-07-15 21:31:34 +00:00
source=("http://download.pluie.org/packages/archlinux/${pkgname}-${pkgver}.tar.bz2")
md5sums=('a4ecf31222b2bee37db1646580440a8f')
2012-07-14 15:39:02 +00:00
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
}