1 # Contributor DaNiMoTh <jjdanimoth@gmail.com>
5 pkgdesc="Italian ERP Software"
6 url="http://promogest.promotux.it"
9 depends=('python' 'postgresql' 'pygtk' 'scrollkeeper' 'glade' \
10 'gnome-python-extras' 'pyxml' 'python-reportlab' \
11 'python-psycopg2' 'pil' 'python-elementtree' \
12 'python-celementtree')
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')
25 cd $startdir/src/PromoGest
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
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
38 rm -rf $startdir/pkg/usr/lib/python2.5/site-packages/elementtree