updated on Sun Jan 22 12:09:12 UTC 2012
[aur-mirror.git] / hodoku / PKGBUILD
blob8caea1b6a65fae3bb890628b3d26be25800aa72d
1 # Maintainer: Auguste Pop < auguste [at] gmail [dot] com >
2 # Contributor: SanskritFritz (gmail)
3 # Contributor: SiD/sidious <miste78 web de>
5 pkgname=hodoku
6 pkgver=2.1.3
7 pkgrel=1
8 pkgdesc="Sudoku generator/solver/analyzer"
9 url="http://hodoku.sourceforge.net/en/index.php"
10 license=('GPL3')
11 arch=('any')
12 depends=('java-runtime')
13 source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/${pkgname}_${pkgver}/$pkgname.jar
14         $pkgname.sh
15         $pkgname.png
16         $pkgname.desktop)
17 md5sums=('8cf167c64a4b7f7452a30b5e55b42895'
18          '883f82c99d42ad5113e84c6a501a66b5'
19          '01d77a4d9f4fd1fb36690ee8a3bae6c4'
20          '557ca158902fddf06cbda7c7c9480c08')
22 package()
24     cd "$srcdir"
25     install -m 644 -D $pkgname.jar \
26         "$pkgdir/usr/share/java/$pkgname/$pkgname.jar"
27     install -m 755 -D $pkgname.sh \
28         "$pkgdir/usr/bin/$pkgname"
29     install -m 644 -D $pkgname.png \
30         "$pkgdir/usr/share/pixmaps/$pkgname.png"
31     install -m 644 -D $pkgname.desktop \
32         "$pkgdir/usr/share/applications/$pkgname.desktop"