1 # Maintainer: Julien Pecqueur <jpec at julienpecqueur dot com>
3 # pkgrel 0.1.1 : creation of the pkg
4 # pkgrel 0.1.2 : update to Qfacture v0.1.2
5 # pkgrel 0.1.3 : update to Qfacture v0.1.3
6 # pkgrel 0.1.4 : update to Qfacture v0.1.4
7 # pkgrel 0.1.5 : update to Qfacture v0.1.5
12 pkgdesc="Le logiciel libre de facturation pour les auto-entrepreneurs!"
13 arch=('i686' 'x86_64')
14 url="http://www.julienpecqueur.com/wordpress/projets/qfacture/"
20 _gitroot="git://github.com/jpec/Qfacture.git"
25 msg "GIT clone Qfacture..."
26 if [ -d ${_gitname} ] ; then
27 cd ${_gitname} && git reset --hard && git pull origin
28 msg "The local files are updated."
30 git clone ${_gitroot} ${_gitname}
33 msg "GIT checkout done or server timeout."
35 msg "GIT checkout Qfacture v${pkgrel}..."
36 git reset --hard v0.1.5
43 install -D -m644 dist/${pkgname}.desktop $startdir/pkg/usr/share/applications/${pkgname}.desktop || return 1
44 install -D -m755 bin/Qfacture $startdir/pkg/usr/local/bin/${pkgname} || return 1
45 install -D -m644 dist/${pkgname}.png ${startdir}/pkg/usr/share/pixmaps/${pkgname}.png || return 1
47 msg "Be sure that /usr/local/bin is in your PATH !!!"