diff options
author | David Vilar | 2015-07-05 11:42:10 +0200 |
---|---|---|
committer | David Vilar | 2015-07-05 11:42:10 +0200 |
commit | f34d4ffa9460fce5a0cd15202cb58ca02362d7aa (patch) | |
tree | ea76cf97bbd667a42a03541c555cb653e808e51d | |
download | aur-f34d4ffa9460fce5a0cd15202cb58ca02362d7aa.tar.gz |
Update to AUR 4.0
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 43 |
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0c20fadef68c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = vassal + pkgdesc = Game engine for building and playing online adaptations of board games and card games. + pkgver = 3.2.15 + pkgrel = 1 + url = http://www.vassalengine.org/ + arch = i686 + arch = x86_64 + license = LGPL + depends = java-runtime + source = http://sourceforge.net/projects/vassalengine/files/VASSAL-current/VASSAL-3.2.15/VASSAL-3.2.15-linux.tar.bz2 + md5sums = 5da6e7633b15cab5ca1d330522c21ee5 + +pkgname = vassal + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f8df82405791 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: David Vilar <davvil@gmail.com> +pkgname=vassal +pkgver=3.2.15 +pkgrel=1 +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) +noextract=() +md5sums=('5da6e7633b15cab5ca1d330522c21ee5') + +build() { + true +} + +package() { + cd "$srcdir/VASSAL-$pkgver" + destdir=$pkgdir/usr/share/java/$pkgname + + mkdir -p $destdir + 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 +} + +# vim:set ts=2 sw=2 et: |