updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / ganttproject / PKGBUILD
blobed23742ea9fbe9ffea4ae3a717a4732fc8545b29
1 # Contributor: David Fuhr <david.fuhr@web.de>
2 pkgname=ganttproject
3 pkgver=2.0.10
4 pkgrel=1
5 pkgdesc="GanttProject is a project scheduling application written in Java and featuring gantt chart, resource management, calendaring, ...)."
6 arch=('i686' 'x86_64')
7 url="http://ganttproject.sourceforge.net/"
8 license="GPL"
9 depends=(java-runtime x-server)
10 makedepends=(unzip)
11 conflicts=()
12 replaces=()
13 backup=()
14 install=
15 source=(http://ganttproject.googlecode.com/files/$pkgname-$pkgver.zip ganttproject ganttproject.desktop ganttproject.sh ganttproject16.png ganttproject32.png ganttproject64.png ganttproject96.png)
16 md5sums=('9e3c5929a248b45ea06a74850640e1ef'
17          '5cc7579e237f56e3a2ab6a415f9299e7'
18          '9e981a289853a035fc843ccd5eb32a02'
19          'f0c6325dccefbfc58192f42ae94be256'
20          '3ad8264b0d0b04ac9195bd79192347cf'
21          'e141ccf49e26955b2695ca98d9f85436'
22          'f67556d58dfbbc4770feb913aed6ea95'
23          'c29c53a1cc807f35c093adc44731dbe0')
25 build() {
26   rm $startdir/src/$pkgname-$pkgver/ganttproject.bat
28   mkdir -p $startdir/pkg/opt/
29   mv $startdir/src/$pkgname-$pkgver $startdir/pkg/opt/$pkgname
31   install -m0644 $startdir/*.png $startdir/pkg/opt/$pkgname
32   install -D -m0755 $startdir/ganttproject $startdir/pkg/opt/$pkgname/bin/ganttproject
33   install -D -m0755 $startdir/ganttproject.sh $startdir/pkg/etc/profile.d/ganttproject.sh
34   install -D -m0644 $startdir/ganttproject.desktop $startdir/pkg/usr/share/applications/ganttproject.desktop