1 # Maintainer: Jakob Matthes <jakob.matthes@gmail.com>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
7 pkgdesc="A Java version of the classic Risk board game."
9 url="http://domination.sourceforge.net/"
11 depends=('java-runtime')
12 source=("http://prdownloads.sourceforge.net/$pkgname/Domination_$pkgver.zip"
15 md5sums=('e6387c834c5b957c67936a118f1f728f'
16 'a19104a3bfe819bccfd97e617cb845a6'
17 '61fa92bdd98b03a74fb02e91aa4ac738')
20 install -d "$pkgdir/usr/share"
21 cp -r "$srcdir/Domination" "$pkgdir/usr/share/"
22 find $pkgdir -type d -exec chmod 755 {} \;
23 find $pkgdir -type f -exec chmod 644 {} \;
24 find $pkgdir -type f -name "*.sh" -exec chmod 755 {} \;
25 install -D -m755 "$srcdir/Domination.sh" "$pkgdir/usr/bin/domination"
26 install -D -m755 "$srcdir/domination.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
27 install -D -m755 "$srcdir/Domination/resources/icon.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"