Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

fixed ganttproject PKGBUILD

By: a guest on Apr 4th, 2012  |  syntax: Bash  |  size: 0.89 KB  |  hits: 102  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }