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 #Contributer: rpj8 (Factory) <semidigerati@gmail.com>
11 pkgdesc="Shoddy Battle is the most popular pokemon simulator, a program that allows you to play pokemon matches with other people over the internet."
13 url="http://shoddybattle.com"
15 depends=(java-runtime)
16 source=(http://shoddybattle.com/client/$pkgname.jnlp)
17 md5sums=('e38412667476061a9a3df6fc89dcfc4e')
21 install -D ${pkgname}.jnlp ${pkgdir}/usr/share/shoddybattle/${pkgname}.jnlp
22 mkdir -p ${pkgdir}/usr/bin/
23 echo -e "#!/bin/bash\njavaws /usr/share/${pkgname}/${pkgname}.jnlp" > ${pkgdir}/usr/bin/shoddybattle
24 chmod +x ${pkgdir}/usr/bin/shoddybattle