diff options
author | lukky513 | 2015-10-26 18:41:22 +0100 |
---|---|---|
committer | lukky513 | 2015-10-26 18:41:22 +0100 |
commit | 33aac8e3ce05e057fecbddaf366d536eb6193e48 (patch) | |
tree | 55959418e247cc122127e902a78432b2127761bf | |
download | aur-33aac8e3ce05e057fecbddaf366d536eb6193e48.tar.gz |
starter - v1.003, first release
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 34 | ||||
-rw-r--r-- | zatikon.install | 11 |
3 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..02c1e9e9c494 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = zatikon + pkgdesc = Turn-based board strategy game inspired by chess, made by Chronic Logic + pkgver = 1.003 + pkgrel = 1 + url = http://www.zatikon.com + install = zatikon.install + arch = any + license = custom:ZatikonEULA + depends = java-environment + depends = hicolor-icon-theme + depends = sh + source = http://s159260531.onlinehome.us/demos/zatikon-jars.tar.xz + md5sums = 350bb59935be7613908bb082e0c35250 + sha256sums = 3f97c4c9ced74fd5f71e7ef06cca8d8b6032193a9ff28c09659fb2832e129e57 + +pkgname = zatikon + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..85ba325c9763 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Lukky513 <lukky513 (a t) gmail (d o t) com> +pkgname=zatikon +pkgver=1.003 +pkgrel=1 +pkgdesc='Turn-based board strategy game inspired by chess, made by Chronic Logic' +arch=('any') +url="http://www.zatikon.com" +license=('custom:ZatikonEULA') +depends=('java-environment' + 'hicolor-icon-theme' + 'sh') +install=('zatikon.install') +source=('http://s159260531.onlinehome.us/demos/zatikon-jars.tar.xz') + +package() { + _gamedir=${pkgdir}/opt/${pkgname} + + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + + for jarname in zatikon sound art; do + install -Dm644 ${jarname}.jar ${_gamedir}/${jarname}.jar + done + install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} + + for size in 16x16 32x32 48x48 64x64 128x128; do + install -Dm644 icons/${pkgname}_${size}.png ${pkgdir}/usr/share/icons/hicolor/${size}/apps/${pkgname}.png + done + install -Dm644 icons/${pkgname}_128x128.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png + + install -Dm644 ${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop +} + +md5sums=('350bb59935be7613908bb082e0c35250') +sha256sums=('3f97c4c9ced74fd5f71e7ef06cca8d8b6032193a9ff28c09659fb2832e129e57') diff --git a/zatikon.install b/zatikon.install new file mode 100644 index 000000000000..9bd8fff53488 --- /dev/null +++ b/zatikon.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} |