diff options
author | Jakob Matthes | 2015-07-27 16:24:25 +0200 |
---|---|---|
committer | Jakob Matthes | 2015-07-27 16:24:25 +0200 |
commit | 6b7369d9bd005b5ad58907985b5631f7d03840e8 (patch) | |
tree | 7ae3161c3b64f2e4c4f1bad5df23e35783541b7a | |
download | aur-6b7369d9bd005b5ad58907985b5631f7d03840e8.tar.gz |
initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | Domination.sh | 3 | ||||
-rw-r--r-- | PKGBUILD | 28 | ||||
-rw-r--r-- | domination.desktop | 11 |
4 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bdb1bde7c97a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = domination + pkgdesc = A Java version of the classic Risk board game. + pkgver = 1.1.1.5 + pkgrel = 1 + url = http://domination.sourceforge.net/ + arch = any + license = GPL + depends = java-runtime + source = http://prdownloads.sourceforge.net/domination/Domination_1.1.1.5.zip + source = Domination.sh + source = domination.desktop + md5sums = 9d439f0fc9a46d064713952d94d243cb + md5sums = a19104a3bfe819bccfd97e617cb845a6 + md5sums = 61fa92bdd98b03a74fb02e91aa4ac738 + +pkgname = domination + diff --git a/Domination.sh b/Domination.sh new file mode 100644 index 000000000000..7c320931f946 --- /dev/null +++ b/Domination.sh @@ -0,0 +1,3 @@ +#!/bin/sh +cd /usr/share/Domination/ +java -jar Domination.jar diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..61a04125b77d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Jakob Matthes <jakob.matthes@gmail.com> +# Contributor: Andrea Scarpino <andrea@archlinux.org> + +pkgname=domination +pkgver=1.1.1.5 +pkgrel=1 +pkgdesc="A Java version of the classic Risk board game." +arch=('any') +url="http://domination.sourceforge.net/" +license=('GPL') +depends=('java-runtime') +source=("http://prdownloads.sourceforge.net/$pkgname/Domination_$pkgver.zip" + 'Domination.sh' + 'domination.desktop') +md5sums=('9d439f0fc9a46d064713952d94d243cb' + 'a19104a3bfe819bccfd97e617cb845a6' + '61fa92bdd98b03a74fb02e91aa4ac738') + +package() { + install -d "$pkgdir/usr/share" + cp -r "$srcdir/Domination" "$pkgdir/usr/share/" + find $pkgdir -type d -exec chmod 755 {} \; + find $pkgdir -type f -exec chmod 644 {} \; + find $pkgdir -type f -name "*.sh" -exec chmod 755 {} \; + install -D -m755 "$srcdir/Domination.sh" "$pkgdir/usr/bin/domination" + install -D -m755 "$srcdir/domination.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" + install -D -m755 "$srcdir/Domination/resources/icon.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" +} diff --git a/domination.desktop b/domination.desktop new file mode 100644 index 000000000000..439ff6ba69f0 --- /dev/null +++ b/domination.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Name=Domination +Comment=A Java version of the classic Risk board game. +Exec=domination +Icon=domination.png +Terminal=false +X-MultipleArgs=false +Type=Application +Categories=Application;Game;StrategyGame; |