updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / promogest / PKGBUILD
blobc60a911f82022e1e82cac9fc052fb37f4cc78e6f
1 # Contributor DaNiMoTh <jjdanimoth@gmail.com>
2 pkgname=promogest
3 pkgver=0.9.4.3
4 pkgrel=1
5 pkgdesc="Italian ERP Software"
6 url="http://promogest.promotux.it"
7 license="GPL"
8 arch=('i686')
9 depends=('python' 'postgresql' 'pygtk' 'scrollkeeper' 'glade' \
10 'gnome-python-extras' 'pyxml' 'python-reportlab' \
11 'python-psycopg2' 'pil' 'python-elementtree' \
12 'python-celementtree')
13 makedepends=()
14 provides=()
15 conflicts=()
16 replaces=()
17 backup=()
18 install=promogest.install
19 source=(http://pkg.promotux.it/tar_gz/promogest-$pkgver.tar.gz \
20         promoGest promogest.desktop )
21 md5sums=('ec943706fa6635d2ccd650a9a9c03917' '4e947e467ccdb8b636a8455dd1d8d480'\
22          'e1b62857f6c1b5d8e4520e56e3816cd8')
24 build() {
25   cd $startdir/src/PromoGest
26   rm setup.cfg
27   python setup.py build
28   python setup.py install --root=$startdir/pkg --prefix=/usr
29   mkdir -p $startdir/pkg/usr/share/applications
30   install -D -m644 $startdir/promogest.desktop $startdir/pkg/usr/share/applications
31   mkdir $startdir/pkg/usr/share/promogest
32   cd $startdir/pkg/usr
33   mv data install_db python $startdir/pkg/usr/share/promogest
34   install -D -m755 $startdir/promoGest $startdir/pkg/usr/bin/
35   rm $startdir/pkg/usr/INSTALL
36   mv $startdir/pkg/usr/bin/promogest.py $startdir/pkg/usr/share/promogest/python/programma.py
37   
38   rm -rf $startdir/pkg/usr/lib/python2.5/site-packages/elementtree