updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ade-programme-utils / PKGBUILD
blob080c8463e1e287886081670cd313508e6c573fe1
1 # Contributor: Charles GaĆ«l DJEDAI <charlesgael.djedai@orange.fr>
2 pkgname=ade-programme-utils
3 pkgdesc="Suite d'outils pour la gestion de planning ADE"
4 pkgver=1.0
5 pkgrel=1
6 arch=('any')
7 url='http://charlesgael.free.fr/'
8 license=('GPL')
9 provides=('ade-programme-utils')
10 depends=('python<2.7' 'python>=2.6')
11 source=('adeProgrammeUtils.py')
13 build() {
14         cd $srcdir 
15         
16         # Install the scripts
17         install -D -m 755 $srcdir/adeProgrammeUtils.py \
18                 $pkgdir/usr/lib/python2.6/site-packages/adeProgrammeUtils.py
19         
20         python -c "import py_compile; py_compile.compile('adeProgrammeUtils.py')" || return 1
21         
22         install -D -m 755 $srcdir/adeProgrammeUtils.pyc \
23                 $pkgdir/usr/lib/python2.6/site-packages/adeProgrammeUtils.pyc
25 md5sums=('ee112048d2bd60135bd093a36efb2cc7')