1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Maintainer: David Vilar <davvil@gmail.com>
10 pkgdesc="Game engine for building and playing online adaptations of board games and card games."
11 arch=('i686' 'x86_64')
12 url="http://www.vassalengine.org/"
15 depends=('java-runtime')
25 source=(http://sourceforge.net/projects/vassalengine/files/VASSAL-current/VASSAL-${pkgver}/VASSAL-${pkgver}-linux.tar.bz2)
27 md5sums=('fa2ef9793bfd58b2c111758fa8477fd4')
34 cd "$srcdir/VASSAL-$pkgver"
35 destdir=$pkgdir/usr/share/java/$pkgname
38 cp -r doc lib $destdir
40 mkdir -p $pkgdir/usr/bin
41 cat << EOF > $pkgdir/usr/bin/vassal
44 for name in /usr/share/java/$pkgname/lib/*.jar ; do
47 java -cp \$CP VASSAL.launch.ModuleManager "\$@"
49 chmod a+x $pkgdir/usr/bin/vassal
52 # vim:set ts=2 sw=2 et: