diff options
author | Tim Schumacher | 2020-06-17 20:34:11 +0200 |
---|---|---|
committer | Tim Schumacher | 2020-06-17 20:34:11 +0200 |
commit | 047cba08c97db938a9397e73ddc32ba20d8e90aa (patch) | |
tree | b42ea577406f439300bc1a76ec611d490dff5272 | |
parent | 8232bb1d2ca2e05e04188c7c70948ab5db62887f (diff) | |
download | aur-047cba08c97db938a9397e73ddc32ba20d8e90aa.tar.gz |
Update to 3.3.0
- Now require any Java newer or equal Java 11
- Automatically find the installed java version
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 14 |
3 files changed, 17 insertions, 11 deletions
@@ -1,15 +1,15 @@ pkgbase = vassal pkgdesc = Game engine for building and playing online adaptations of board games and card games. - pkgver = 3.2.17 - pkgrel = 2 + pkgver = 3.3.0 + pkgrel = 1 url = http://www.vassalengine.org/ arch = i686 arch = x86_64 license = LGPL - depends = java-runtime-openjdk=8 - source = http://sourceforge.net/projects/vassalengine/files/VASSAL-current/VASSAL-3.2.17/VASSAL-3.2.17-linux.tar.bz2 + depends = java-runtime>=11 + source = https://github.com/vassalengine/vassal/releases/download/3.3.0/VASSAL-3.3.0-linux.tar.bz2 source = VASSAL-256x256.png - md5sums = dc43c18cafcf36cfbc1a0d9eb733d8d1 + md5sums = ee3f564f60d8070e35062b15da17c0f3 md5sums = 4a4ec11bdbd7dbbf56e6f1d533f69a7e pkgname = vassal diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..0685a5c4bb3c --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg/ +src/ +*.tar.bz2 +*.tar.xz @@ -1,17 +1,17 @@ # Maintainer: Tim Schumacher <timschumi@gmx.de> # Contributor: David Vilar <davvil@gmail.com> pkgname=vassal -pkgver=3.2.17 -pkgrel=2 +pkgver=3.3.0 +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') -depends=('java-runtime-openjdk=8') -source=(http://sourceforge.net/projects/vassalengine/files/VASSAL-current/VASSAL-${pkgver}/VASSAL-${pkgver}-linux.tar.bz2 +depends=('java-runtime>=11') +source=(https://github.com/vassalengine/vassal/releases/download/${pkgver}/VASSAL-${pkgver}-linux.tar.bz2 VASSAL-256x256.png) noextract=() -md5sums=('dc43c18cafcf36cfbc1a0d9eb733d8d1' +md5sums=('ee3f564f60d8070e35062b15da17c0f3' '4a4ec11bdbd7dbbf56e6f1d533f69a7e') build() { true @@ -28,7 +28,9 @@ package() { mkdir -p $pkgdir/usr/bin cat << EOF > $pkgdir/usr/bin/vassal #!/bin/bash -cd /usr/share/java/$pkgname && /usr/lib/jvm/java-8-openjdk/jre/bin/java -classpath lib/Vengine.jar VASSAL.launch.ModuleManager "\$@" +shopt -s nullglob +JAVA_PATHS=(/usr/lib/jvm/java-{11..14}-*/bin/java) +cd /usr/share/java/$pkgname && \${JAVA_PATHS[0]} -classpath lib/Vengine.jar VASSAL.launch.ModuleManager "\$@" EOF chmod a+x $pkgdir/usr/bin/vassal |