package creation fo Archlinux
This commit is contained in:
parent
8033f2ed2d
commit
704d9fb0da
24
pkg/archlinux/PKGBUILD
Normal file
24
pkg/archlinux/PKGBUILD
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# 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
|
||||||
|
}
|
BIN
pkg/archlinux/gpyfsa-0.33-1-any.pkg.tar.xz
Normal file
BIN
pkg/archlinux/gpyfsa-0.33-1-any.pkg.tar.xz
Normal file
Binary file not shown.
12
pkg/archlinux/gpyfsa.install
Normal file
12
pkg/archlinux/gpyfsa.install
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
post_install() {
|
||||||
|
update-desktop-database -q
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
post_install $1
|
||||||
|
}
|
||||||
|
|
||||||
|
post_remove() {
|
||||||
|
post_install $1
|
||||||
|
echo "you should mannually remove /var/log/gpyfsa.log"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user