updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pokenet-client-svn / PKGBUILD
blob9c61455afadef0d8efbf166684492c05fc33381f
1 # Maintainer: Philipp 'TamCore' B. <philipp {at} tamcore {dot} eu>
2 pkgname=pokenet-client-svn
3 pkgver=LATEST
4 pkgrel=1
5 pkgdesc="PokeNet 2D MMORPG Game"
6 arch=(i686 x86_64)
7 url="http://code.google.com/p/pokenetonline/"
8 license=('GPL')
9 depends=(java-environment)
10 makedepends=('subversion')
11 provides=(pokenetonline)
12 source=(pokenet-client pokenet-client.desktop)
13 md5sums=('a745431ebd8ddb5fe530d967bdd78656'
14          'f2f3c457d4bfef2b88919f5df57b8159')
15 options=(!strip)
17 _svntrunk=http://pokenetonline.googlecode.com/svn/trunk/Client
18 _svnmod=Client
20 build() {
21   cd "$srcdir"
23   if [ -d $_svnmod/.svn ]; then
24     cd $_svnmode
25     svn update
26   else
27     svn co $_svntrunk $_svnmod
28   fi
30   msg "SVN checkout done or server timeout"
31   msg "Starting make..."
33   mkdir -p ${pkgdir}/opt/${pkgname}
34   cp -r ${srcdir}/${_svnmod}/* ${pkgdir}/opt/${pkgname}/
35   install -Dm755 ${srcdir}/pokenet-client ${pkgdir}/usr/bin/pokenet-client
36   install -Dm655 ${srcdir}/Client/res/ui/pokeball.png ${pkgdir}/usr/share/pixmaps/pokenet-client.png
37   install -Dm655 ${srcdir}/pokenet-client.desktop ${pkgdir}/usr/share/applications/pokenet-client.desktop