diff options
author | Parth Nobel | 2015-06-08 18:40:39 -0700 |
---|---|---|
committer | Parth Nobel | 2015-06-08 18:42:30 -0700 |
commit | bfaf3402a3e900ff8abcb4dd3a2bb58573fa83ef (patch) | |
tree | caab555c6106fe3f40802beeab0dd9f582af6a0f | |
download | aur-bfaf3402a3e900ff8abcb4dd3a2bb58573fa83ef.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 38 | ||||
-rw-r--r-- | triplea | 4 | ||||
-rw-r--r-- | triplea.install | 12 |
4 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..dcecbb3c6eb3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = triplea + pkgdesc = An online multiplayer turn based strategy game and board game engine. + pkgver = 1.8.0.5 + pkgrel = 1 + url = http://triplea.sf.net + install = triplea.install + arch = any + license = GPL + depends = gtk-update-icon-cache + depends = java-runtime + source = http://downloads.sourceforge.net/sourceforge/triplea/triplea_1_8_0_5_all_platforms.zip + source = https://github.com/PTNobel/TripleA/archive/master.zip + source = triplea + sha256sums = 4201612de9970ca19baaf04e45b967ee57993b91ce77e3015a1908d13b46a1b2 + sha256sums = c1199447596534f80dbacee93ca10b41a19c3c09224fb5440b19e16902494014 + sha256sums = 4fdd7ad0c1a802a3142e800dc1f354a246586d8bb75b8c17b6dc948b5cf35f05 + +pkgname = triplea + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..272ad7d2c9ea --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Contributor: Raniz <raniz *AT* gmx *DOT* net> +# Maintainer: Parth Nobel <pnob99 *AT* gmail *DOT* com> + +pkgname=triplea +pkgver=1.8.0.5 +pkgrel=1 +pkgdesc='An online multiplayer turn based strategy game and board game engine.' +arch=('any') +url="http://triplea.sf.net" +license=('GPL') +install=${pkgname}.install +depends=('gtk-update-icon-cache' 'java-runtime') +source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}_${pkgver//./_}_all_platforms.zip" "https://github.com/PTNobel/TripleA/archive/master.zip" "triplea") +sha256sums=('4201612de9970ca19baaf04e45b967ee57993b91ce77e3015a1908d13b46a1b2' + 'c1199447596534f80dbacee93ca10b41a19c3c09224fb5440b19e16902494014' + '4fdd7ad0c1a802a3142e800dc1f354a246586d8bb75b8c17b6dc948b5cf35f05') + +package() { + install -d "${pkgdir}/usr/share/triplea" + cd ${srcdir}/${pkgname}_${pkgver//./_} + cp -R * ${pkgdir}/usr/share/triplea + cd ${srcdir}/TripleA-master/usr/share/ + cp -R * ${pkgdir}/usr/share + cd ${srcdir} + + find ${pkgdir}/usr/share/triplea -type d -exec chmod 755 {} \; + find ${pkgdir}/usr/share/triplea -type f -exec chmod 644 {} \; + chmod 755 ${pkgdir}/usr/share/triplea/triplea_unix.sh + cd ${pkgdir}/usr/share/triplea/ + rm triplea_mac_os_x.sh + rm triplea_windows.bat + rm run-headless-game-host-windows.bat + rm MacOS_users_read_this_first.txt + rm triplea.exe + rm -Rf docs + install -D -m 0755 ${srcdir}/triplea ${pkgdir}/usr/bin/triplea +} + diff --git a/triplea b/triplea new file mode 100644 index 000000000000..d39c8987cc56 --- /dev/null +++ b/triplea @@ -0,0 +1,4 @@ +#!/bin/bash + +cd $(cd $(dirname "$0"); pwd)/../share/triplea +exec ./triplea_unix.sh "$@" diff --git a/triplea.install b/triplea.install new file mode 100644 index 000000000000..b27943e09efb --- /dev/null +++ b/triplea.install @@ -0,0 +1,12 @@ +post_install() { + gtk-update-icon-cache +} +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + +# vim: ts=2 sw=2 et: |