summaryrefslogtreecommitdiff
path: root/pcr/vassal
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2016-05-08 18:33:49 -0400
committerGaming4JC <g4jc@openmailbox.org>2016-05-08 18:33:49 -0400
commita88bad88f7c15a20d74fe0d785a7caf97ba9d4f6 (patch)
treea4095ec36c1821725fe516c984186bb18350a72f /pcr/vassal
parent28fe85af836fd2cc44f4c98aac7235b87b65406d (diff)
downloadabslibre-a88bad88f7c15a20d74fe0d785a7caf97ba9d4f6.tar.gz
abslibre-a88bad88f7c15a20d74fe0d785a7caf97ba9d4f6.tar.bz2
abslibre-a88bad88f7c15a20d74fe0d785a7caf97ba9d4f6.zip
add vassal board game engine
Diffstat (limited to 'pcr/vassal')
-rw-r--r--pcr/vassal/PKGBUILD65
-rw-r--r--pcr/vassal/VASSAL-256x256.pngbin0 -> 18500 bytes
2 files changed, 65 insertions, 0 deletions
diff --git a/pcr/vassal/PKGBUILD b/pcr/vassal/PKGBUILD
new file mode 100644
index 000000000..0412acd1d
--- /dev/null
+++ b/pcr/vassal/PKGBUILD
@@ -0,0 +1,65 @@
+# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
+# Contributor (Arch): David Vilar <davvil@gmail.com>
+pkgname=vassal
+pkgver=3.2.16
+pkgrel=2
+pkgdesc="Game engine for building and playing online adaptations of board games and card games."
+arch=('i686' 'x86_64')
+url="http://www.vassalengine.org/"
+license=('LGPL')
+groups=()
+depends=('java-runtime')
+makedepends=('')
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=(http://sourceforge.net/projects/vassalengine/files/VASSAL-current/VASSAL-${pkgver}/VASSAL-${pkgver}-linux.tar.bz2
+ VASSAL-256x256.png)
+noextract=()
+sha512sum=('8e80b0096778c485d264b7c29f08fd63'
+ '4a4ec11bdbd7dbbf56e6f1d533f69a7e')
+build() {
+ true
+}
+
+package() {
+ cd "$srcdir/VASSAL-$pkgver"
+ destdir=$pkgdir/usr/share/java/$pkgname
+
+ mkdir -p $destdir
+
+ jar xf lib/Vengine.jar images/VASSAL-256x256.png
+
+ cp -r doc lib $destdir
+
+ mkdir -p $pkgdir/usr/bin
+ cat << EOF > $pkgdir/usr/bin/vassal
+#!/bin/bash
+cd /usr/share/java/$pkgname && java -classpath lib/Vengine.jar VASSAL.launch.ModuleManager "\$@"
+EOF
+ chmod a+x $pkgdir/usr/bin/vassal
+
+ mkdir -p $destdir/images
+ cp $srcdir/VASSAL-256x256.png $destdir/images
+
+ mkdir -p $pkgdir/usr/share/applications
+ cat << EOF > $pkgdir/usr/share/applications/vassal.desktop
+[Desktop Entry]
+Comment=${pkgdesc}
+Terminal=false
+Name=Vassal
+Exec=/usr/bin/vassal
+Type=Application
+Icon=/usr/share/java/${pkgname}/images/VASSAL-256x256.png
+EOF
+
+}
+
+# vim:set ts=2 sw=2 et:
+md5sums=('8e80b0096778c485d264b7c29f08fd63'
+ '4a4ec11bdbd7dbbf56e6f1d533f69a7e')
diff --git a/pcr/vassal/VASSAL-256x256.png b/pcr/vassal/VASSAL-256x256.png
new file mode 100644
index 000000000..634a3ccc5
--- /dev/null
+++ b/pcr/vassal/VASSAL-256x256.png
Binary files differ