updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / baggle-server / PKGBUILD
blob25d5c6f624be8ae1e27894d1f7beb0250fe50a91
1 # Contributor: mathieui <mathieui[at]mathieui.net>
2 pkgname=baggle-server
3 _pkgname=baggle
4 pkgrel=1
5 pkgver=1.1
6 pkgdesc="A software to play the french boggle through the network and the internet (server)"
7 arch=('any')
8 url="http://codingteam.net/project/baggle"
9 license=('GPL')
10 depends=('openjdk6')
11 source=("http://codingteam.net/project/${_pkgname}/download/file/${pkgname}_${pkgver}.jar")
12 md5sums=('b8ea32c47d61a878eaceb1e771a6c4e8')
15 build() {
16     cd $srcdir
17     mkdir -p $pkgdir/usr/share/${_pkgname}
18     mkdir -p $pkgdir/usr/bin
19     cp ${pkgname}_$pkgver.jar $pkgdir/usr/share/${_pkgname}
20     echo -e '#!/bin/bash'"\njava -jar /usr/share/${_pkgname}/${pkgname}_$pkgver.jar $*" > $pkgdir/usr/bin/${pkgname}
21     chmod +x $pkgdir/usr/bin/${pkgname}