diff options
author | Aaron Fischer | 2015-06-13 21:49:03 +0200 |
---|---|---|
committer | Aaron Fischer | 2015-06-13 21:51:43 +0200 |
commit | 0af9082ab5d25753d7d37b66116aa351221a44c7 (patch) | |
tree | 4f9b4051de85054c100c2c228f0e496c4e58c0f8 | |
download | aur-0af9082ab5d25753d7d37b66116aa351221a44c7.tar.gz |
Reimport to git because of some files missing in one commit
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | LICENSE | 71 | ||||
-rw-r--r-- | PKGBUILD | 54 | ||||
-rw-r--r-- | irrlicht_1_32x32x24.png | bin | 0 -> 1264 bytes | |||
-rw-r--r-- | kag | 4 | ||||
-rw-r--r-- | kag.desktop | 9 | ||||
-rw-r--r-- | kag.install | 12 |
7 files changed, 178 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..824a73231b35 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,28 @@ +pkgbase = kag + pkgdesc = King Arthur's Gold Classic is a game about building castles and destroying your enemies (inspired by Soldat and Minecraft) + pkgver = 0.91A + pkgrel = 2 + url = http://kag2d.com/ + install = kag.install + arch = any + license = custom + depends = desktop-file-utils + depends = xdg-utils + depends = libgl + depends = freetype2 + depends = libstdc++5 + depends = libpng15 + conflicts = kag + source = http://dl.kag2d.com/kag-linux32-latest.tar.gz + source = kag + source = kag.desktop + source = irrlicht_1_32x32x24.png + source = LICENSE + md5sums = 097a49c01c162ff1edb7ffef9dc5d06a + md5sums = 4b26f563e978acee99d4fe91e28b368c + md5sums = 3d3b3ea71998582cc88269d3f2da4863 + md5sums = 81f2bae53e67f9220802b1187b8f398f + md5sums = 35cae9aeae1c2d561677230795d0d827 + +pkgname = kag + 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..0a38e0130a02 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,54 @@ +# Maintainer: Aaron Fischer <mail@aaron-fischer.net> +# Contributor: Christopher Cassidy <chris@bytcrft.net> +# Contributor: Kirill "reflexing" Churin <reflexing@reflexing.ru> +# Contributor: Kyrylo Silin <kyrylosilin@gmail.com> + +pkgname=kag +pkgver=0.91A +pkgrel=2 +pkgdesc="King Arthur's Gold Classic is a game about building castles and destroying your enemies (inspired by Soldat and Minecraft)" +arch=('any') +url="http://kag2d.com/" +license=('custom') +conflicts=('kag') +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=kag.install +source=(http://dl.kag2d.com/kag-linux32-latest.tar.gz + kag + kag.desktop + irrlicht_1_32x32x24.png + LICENSE) +md5sums=('097a49c01c162ff1edb7ffef9dc5d06a' + '4b26f563e978acee99d4fe91e28b368c' + '3d3b3ea71998582cc88269d3f2da4863' + '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 kag ${pkgdir}/usr/bin/kag + + cp -r kag-linux32/* ${pkgdir}/usr/share/${pkgname} + find ${pkgdir}/usr/share/${pkgname} -type d -exec chmod 755 {} \; + 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} + + # Proper installation of .desktop file + desktop-file-install -m 644 --dir ${pkgdir}/usr/share/applications/ kag.desktop + + # Install icon (got from source package with "icotool -x irrlicht.ico") + install -m644 -D irrlicht_1_32x32x24.png ${pkgdir}/usr/share/icons/hicolor/32x32/apps/kag.png +} + diff --git a/irrlicht_1_32x32x24.png b/irrlicht_1_32x32x24.png Binary files differnew file mode 100644 index 000000000000..720ec545eff0 --- /dev/null +++ b/irrlicht_1_32x32x24.png @@ -0,0 +1,4 @@ +#!/bin/sh + +cd /usr/share/kag +LD_PRELOAD=/usr/lib32/libpng15.so ./KAG autostart Scripts/autostart.gm autoconfig Scripts/autoconfig.gm diff --git a/kag.desktop b/kag.desktop new file mode 100644 index 000000000000..7f4ca5b030c3 --- /dev/null +++ b/kag.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Name=King Arthur's Gold +Comment=Game to build castles and destroy your enemies, inspired by Soldat and Minecraft +Exec=kag +Icon=kag +Terminal=false +StartupNotify=false +Categories=Game;ArcadeGame; diff --git a/kag.install b/kag.install new file mode 100644 index 000000000000..f0b1d411247f --- /dev/null +++ b/kag.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_uninstall() { + rm -rf /usr/share/kag/ +} |