SHARE
TWEET

fixed ganttproject PKGBUILD

a guest Apr 4th, 2012 111 Never
  1. # Maintainer: zertyz <zertyz@gmail.com>
  2. # Contributor: David Fuhr <david.fuhr@web.de>
  3. pkgname=ganttproject
  4. pkgver=2.5
  5. pkgrel=1024
  6. pkgdesc="a project scheduling application written in Java and featuring gantt chart, resource management, calendaring..."
  7. arch=('any')
  8. url="http://ganttproject.sourceforge.net/"
  9. license=("GPL")
  10. depends=('java-environment' 'bash')
  11. makedepends=('unzip')
  12. source=(http://ganttproject.googlecode.com/files/$pkgname-$pkgver-r$pkgrel.zip ganttproject.desktop)
  13. md5sums=('5a7efde9b555352b6afcd1f557a41d45'
  14.          '3a3ca74b7440f22ca83b2fe89fb9d44d')
  15.  
  16. build() {
  17.   rm $srcdir/ganttproject-$pkgver-r$pkgrel/ganttproject.bat
  18.  
  19.   mkdir -p $pkgdir/opt/
  20.   mv $srcdir/ganttproject-$pkgver-r$pkgrel/ $pkgdir/opt/$pkgname
  21.  
  22.   chmod 755 $pkgdir/opt/$pkgname/ganttproject
  23.   install -D -m0644 $srcdir/ganttproject.desktop $pkgdir/usr/share/applications/ganttproject.desktop
  24. }
RAW Paste Data
Top