1 # Contributor: Petteri Tolonen <petteri.tolonen[at]gmail.com>
2 # Maintainer: Petteri Tolonen <petteri.tolonen[at]gmail.com>
7 pkgdesc="Juggling Lab is an application for creating and animating juggling patterns."
9 url="http://jugglinglab.sourceforge.net/"
11 depends=('bash' 'java-environment')
13 source=(http://downloads.sourceforge.net/project/jugglinglab/Juggling%20Lab/JugglingLab-${pkgver}_other.tar.gz)
14 md5sums=('a1272d27ece7596d12b2325463fded9e')
18 cd $startdir/src/JugglingLab
19 mkdir -p -m755 $pkgdir/usr/share/jugglinglab/patterns
20 mkdir -p $pkgdir/usr/bin
21 cd $srcdir/JugglingLab/
22 install -m644 bin/JugglingLab.jar $pkgdir/usr/share/jugglinglab/
23 sed -i 's|bin/JugglingLab.jar|/usr/share/jugglinglab/JugglingLab.jar|g' ./JugglingLab.sh
24 install -m755 JugglingLab.sh $pkgdir/usr/bin/jugglinglab
25 install -m644 COPYING.txt $pkgdir/usr/share/jugglinglab/
26 install -m644 README.html $pkgdir/usr/share/jugglinglab/
27 install -m644 patterns/* $pkgdir/usr/share/jugglinglab/patterns/