diff options
author | David Vilar | 2016-04-06 18:26:40 +0200 |
---|---|---|
committer | David Vilar | 2016-04-06 18:26:40 +0200 |
commit | db7fb61f99b39189866fe62b1f03c16f0692ffbc (patch) | |
tree | 492edc0847ea4e913d6559b2b7316e8fc1ac6352 | |
parent | 0542cff10f39ca2f101005962b673a1a37f55ebe (diff) | |
download | aur-db7fb61f99b39189866fe62b1f03c16f0692ffbc.tar.gz |
Forgot to add modified files in previous commit :(
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 27 insertions, 6 deletions
@@ -1,14 +1,16 @@ pkgbase = vassal pkgdesc = Game engine for building and playing online adaptations of board games and card games. pkgver = 3.2.16 - pkgrel = 1 + pkgrel = 2 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.16/VASSAL-3.2.16-linux.tar.bz2 + source = VASSAL-256x256.png md5sums = 8e80b0096778c485d264b7c29f08fd63 + md5sums = 4a4ec11bdbd7dbbf56e6f1d533f69a7e pkgname = vassal @@ -1,14 +1,14 @@ # Maintainer: David Vilar <davvil@gmail.com> pkgname=vassal pkgver=3.2.16 -pkgrel=1 +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=() +makedepends=('') optdepends=() provides=() conflicts=() @@ -17,10 +17,11 @@ backup=() options=() install= changelog= -source=(http://sourceforge.net/projects/vassalengine/files/VASSAL-current/VASSAL-${pkgver}/VASSAL-${pkgver}-linux.tar.bz2) +source=(http://sourceforge.net/projects/vassalengine/files/VASSAL-current/VASSAL-${pkgver}/VASSAL-${pkgver}-linux.tar.bz2 + VASSAL-256x256.png) noextract=() -md5sums=('8e80b0096778c485d264b7c29f08fd63') - +md5sums=('8e80b0096778c485d264b7c29f08fd63' + '4a4ec11bdbd7dbbf56e6f1d533f69a7e') build() { true } @@ -30,6 +31,9 @@ package() { 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 @@ -38,6 +42,21 @@ package() { 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: |