updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / jugglinglab / PKGBUILD
blobc6e996a7cf55a04d37a8e272904784682da66c6f
1 # Contributor: Petteri Tolonen <petteri.tolonen[at]gmail.com>
2 # Maintainer: Petteri Tolonen <petteri.tolonen[at]gmail.com>
4 pkgname=jugglinglab
5 pkgver=0.6.1
6 pkgrel=1
7 pkgdesc="Juggling Lab is an application for creating and animating juggling patterns."
8 arch=('any')
9 url="http://jugglinglab.sourceforge.net/"
10 license=('GPL')
11 depends=('bash' 'java-environment')
12 makedepends=('gzip')
13 source=(http://downloads.sourceforge.net/project/jugglinglab/Juggling%20Lab/JugglingLab-${pkgver}_other.tar.gz)
14 md5sums=('a1272d27ece7596d12b2325463fded9e')
16 build() {
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/