summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Mueller2014-05-08 22:11:43 +0200
committerAaron Mueller2014-05-08 22:11:43 +0200
commitbeac1a02b4aed0831bf712e4ccbe8f8eb2470e37 (patch)
treeb3c91338fc4cf03c07973fcf736b1e4ab0ab4f45
downloadaur-beac1a02b4aed0831bf712e4ccbe8f8eb2470e37.tar.gz
Add kagbeta
-rw-r--r--.SRCINFO27
-rw-r--r--LICENSE71
-rw-r--r--PKGBUILD45
-rw-r--r--irrlicht_1_32x32x24.pngbin0 -> 1264 bytes
-rw-r--r--kagbeta4
-rw-r--r--kagbeta.desktop9
-rw-r--r--kagbeta.install12
7 files changed, 168 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..e291e40894b4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = kagbeta
+ pkgdesc = King Arthur's Gold BETA is a game about building castles and destroying your enemies (inspired by Soldat and Minecraft).
+ pkgver = 0.97
+ pkgrel = 2
+ url = http://kag2d.com/
+ install = kagbeta.install
+ arch = any
+ license = custom
+ depends = desktop-file-utils
+ depends = xdg-utils
+ depends = libgl
+ depends = freetype2
+ depends = libstdc++5
+ depends = libpng15
+ source = http://dl.kag2d.com/kagbeta-linux32-client.tar.gz
+ source = kagbeta
+ source = kagbeta.desktop
+ source = irrlicht_1_32x32x24.png
+ source = LICENSE
+ md5sums = 2658f15ffebf811b2436a5ff2e5270ab
+ md5sums = 1a980207740dec09a1522152ee4f6b65
+ md5sums = f23363aa7bd01f35f1a7641ff931afe2
+ md5sums = 81f2bae53e67f9220802b1187b8f398f
+ md5sums = 35cae9aeae1c2d561677230795d0d827
+
+pkgname = kagbeta
+
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 000000000000..85c497e6a2f7
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,71 @@
+TERMS OF USE - King Arthur's Gold
+
+Creating or holding an account at Kag2D.com, or installing the game King Athur's Gold on any computer
+constitutes agreement with these terms. If you do not agree with these terms, you are not entitled to create
+or hold an account at Kag2D.com nor to have King Arthur's Gold installed on any computer you access.
+You can remove your account at kag2D.com/delete by providing your credentials to exit sections.
+
+ Game Accounts
+
+ By registering a game account you create credentials needed to authenticate with the master server,
+ and thus play the game.
+ To do so you must agree to the terms laid out below.
+
+ Privacy Policy
+
+ You certainly won't be getting spam as a result of signing up.
+
+ We store emails and usernames in plaintext, and passwords in a cipher.
+ We won't share them with anyone willingly but can't guarantee we won't be hacked at some point,
+ however we'll go to all reasonable measures to prevent that happening.
+
+ We reserve the right to email you with account related information.
+
+ Acceptable Use
+
+ Deliberate harrassment, griefing, hacking, or other malicious behaviour or abuse of
+ our game will lead to deactivation of your account followed by deletion within 5
+ days pending correspondence via your registered email.
+
+ Distribution
+
+ You are not entitled to distribute King Arthur's Gold in any form without express permission
+ from TransHuman Directive. This includes but is not limited to the client, server, art assets
+ and game scripts. We do this to ensure the integrity of the presentation of our game.
+
+ Mirroring agreements can be made by contacting support@thd.vg
+
+ Paid Accounts
+
+ By buying a paid account you get immediate, revokable access to the paid features of our game.
+ Whenever new paid features are introduced, all old paid accounts will recieve access to these new features,
+ and the price of upgrading to a paid account will go up.
+
+ When you purchase the game you do so as-is. We can't guarantee that we'll finish
+ King Arthur's Gold, but it's certainly our intention.
+
+ Paying for the game does not make you excempt from the Acceptable Use rules.
+
+ Disclaimer
+
+ We reserve the right to deactivate or delete your account at any time without prior warning.
+ We won't do this except in extreme cirumstances, but note that being a dick but not explicitly
+ breaking the rules does not protect you from this clause.
+
+King Arthur's World and all the file formats the program produces are copyright © 2011 of TransHuman Directive / Michal Marcinkowski (Mimoips).
+All rights reserved. All other marks and trademarks are the property of their respective owners.
+The content of this videogame is purely fictional, is not intended to represent or depict any
+ actual event, person, or entity, and any such similarities are purely coincidental.
+The makers and publishers of this videogame do not in any way endorse, condone or encourage
+ engaging in any conduct depicted in this videogame.
+No portion of this software's executables may be disassembled, reverse engineered, decompiled, modified or altered.
+No portion of this software maybe sold directly nor indirectly without the permission from the author.
+This Software is supplied "as is" and no liability will be accepted by TransHuman Directive
+ or any legal vendors of this software for any damage incurred by the use of this software.
+
+---------
+
+OpenCandy End User License Agreement
+January 26, 2010
+
+This installer uses the OpenCandy network to recommend other software you may find valuable during the installation of this software. OpenCandy collects *NON-personally identifiable* information about this installation and the recommendation process. Collection of this information ONLY occurs during this installation and the recommendation process; in accordance with OpenCandy's Privacy Policy, available at www.opencandy.com/privacy-policy
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..075473843207
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Aaron Mueller <mail@aaron-mueller.de>
+
+pkgname=kagbeta
+pkgver=0.97
+pkgrel=2
+pkgdesc="King Arthur's Gold BETA is a game about building castles and destroying your enemies (inspired by Soldat and Minecraft)."
+arch=('any')
+url="http://kag2d.com/"
+license=('custom')
+if test "$CARCH" == x86_64; then
+ depends=(desktop-file-utils xdg-utils lib32-libgl lib32-freetype2 lib32-libstdc++5 lib32-libpng15)
+else
+ depends=(desktop-file-utils xdg-utils libgl freetype2 libstdc++5 libpng15)
+fi
+install=kagbeta.install
+source=(http://dl.kag2d.com/kagbeta-linux32-client.tar.gz
+ kagbeta
+ kagbeta.desktop
+ irrlicht_1_32x32x24.png
+ LICENSE)
+md5sums=("2658f15ffebf811b2436a5ff2e5270ab"
+ "1a980207740dec09a1522152ee4f6b65"
+ "f23363aa7bd01f35f1a7641ff931afe2"
+ "81f2bae53e67f9220802b1187b8f398f"
+ "35cae9aeae1c2d561677230795d0d827")
+
+package() {
+ cd ${srcdir}/
+
+ install -dm755 ${pkgdir}/usr/bin
+ install -dm755 ${pkgdir}/usr/share/${pkgname}
+ install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
+ install -Dm755 kagbeta ${pkgdir}/usr/bin/kagbeta
+
+ cp -r kagbeta-linux32-client/* ${pkgdir}/usr/share/${pkgname}
+ find ${pkgdir}/usr/share/${pkgname} -type d -exec chmod 775 {} \;
+ find ${pkgdir}/usr/share/${pkgname} -type f -exec chmod 664 {} \;
+ chmod 774 ${pkgdir}/usr/share/${pkgname}/KAG
+ chown -R root:games ${pkgdir}/usr/share/${pkgname}
+
+ install -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}
+ desktop-file-install -m 644 --dir ${pkgdir}/usr/share/applications/ kagbeta.desktop
+ install -m644 -D irrlicht_1_32x32x24.png ${pkgdir}/usr/share/icons/hicolor/32x32/apps/kagbeta.png
+}
+
diff --git a/irrlicht_1_32x32x24.png b/irrlicht_1_32x32x24.png
new file mode 100644
index 000000000000..720ec545eff0
--- /dev/null
+++ b/irrlicht_1_32x32x24.png
Binary files differ
diff --git a/kagbeta b/kagbeta
new file mode 100644
index 000000000000..c279d0719607
--- /dev/null
+++ b/kagbeta
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /usr/share/kagbeta
+LD_PRELOAD=/usr/lib32/libpng15.so ./KAG
diff --git a/kagbeta.desktop b/kagbeta.desktop
new file mode 100644
index 000000000000..9f41f9b072a3
--- /dev/null
+++ b/kagbeta.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=King Arthur's Gold BETA
+Comment=Game to build castles and destroy your enemies, inspired by Soldat and Minecraft.
+Exec=kagbeta
+Icon=kagbeta
+Terminal=false
+StartupNotify=false
+Categories=Game;ArcadeGame;
diff --git a/kagbeta.install b/kagbeta.install
new file mode 100644
index 000000000000..5751b1f9ef2c
--- /dev/null
+++ b/kagbeta.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ rm -rf /usr/share/kagbeta
+}