updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / domination / PKGBUILD
blobc043aeb0175a8d057934a4eda7952666acd0f0d0
1 # Maintainer: Jakob Matthes <jakob.matthes@gmail.com>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
4 pkgname=domination
5 pkgver=1.1.0.5
6 pkgrel=1
7 pkgdesc="A Java version of the classic Risk board game."
8 arch=('any')
9 url="http://domination.sourceforge.net/"
10 license=('GPL')
11 depends=('java-runtime')
12 source=("http://prdownloads.sourceforge.net/$pkgname/Domination_$pkgver.zip"
13         'Domination.sh'
14         'domination.desktop')
15 md5sums=('e6387c834c5b957c67936a118f1f728f'
16          'a19104a3bfe819bccfd97e617cb845a6'
17          '61fa92bdd98b03a74fb02e91aa4ac738')
19 package() {
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"