1 # Maintainer: Auguste Pop <auguste [at] gmail [dot] com>
6 pkgdesc="A sudoku helper written in Java"
8 url=('http://hodoku.sourceforge.net')
10 depends=('java-runtime')
11 makedepends=('apache-ant' 'java-environment')
17 source=("http://downloads.sourceforge.net/project/$_PKGNAME/$_PKGNAME/${_PKGNAME}_${pkgver}/$_PKGNAME-${pkgver//./-}-src.zip"
20 md5sums=('63251f5a4bed060c0f39d95cb28222a1'
21 'd29a1647df264d1379ae48783ff2eb38'
22 '557ca158902fddf06cbda7c7c9480c08')
25 cd "$srcdir/$_PKGCLASS"
31 cd "$srcdir/$_PKGCLASS"
32 install -m 644 -D "dist/$_PKGCLASS.jar" \
33 "$pkgdir/usr/share/java/$_PKGNAME/$_PKGNAME.jar"
34 install -m 644 -D "src/img/${_PKGNAME}02-256.png" \
35 "$pkgdir/usr/share/pixmaps/$_PKGNAME.png"
36 install -m 755 -D "$srcdir/$_PKGNAME.sh" \
37 "$pkgdir/usr/bin/$_PKGNAME"
38 install -m 644 -D "$srcdir/$_PKGNAME.desktop" \
39 "$pkgdir/usr/share/applications/$_PKGNAME.desktop"