updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / commander-zod / PKGBUILD
blob972cd647930d81d972fa14ea7e29ea3e9c67f6d0
1 # Maintainer: Stefan J. Betz <info@stefan-betz.net>
2 pkgname=commander-zod
3 _version=2011_09_06
4 pkgver=0.$_version
5 pkgrel=1
6 pkgdesc="The Zod Engine - An Open Source Remake of the 1996 Game Z by Bitmap Brothers"
7 depends=("sdl" "sdl_mixer" "sdl_ttf" "sdl_image" "libmysqlclient" "wxgtk")
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 url="http://zod.sourceforge.net/"
11 source=("http://sourceforge.net/projects/zod/files/linux_releases/zod_linux-${_version//_/-}.tar.gz"
12         "commander-zod.desktop"
13         "commander-zod")
14 md5sums=('ab366b279e43add48d66e3d8224cfafa'
15          '51949abec46c79b9871fedc99d88f4bd'
16          '76d5a47d6985756fe311d2ce02a3355b')
18 build() {
19         cd $srcdir/zod_engine/zod_src
20         make
21         cp zod ..
22         cd $srcdir/zod_engine/zod_launcher_src
23         make
24         cp zod_launcher ..
25         cd $srcdir/zod_engine
26         rm -r -f zod_src
27         rm -r -f zod_launcher_src
28         mkdir -p $pkgdir/usr/lib
29         mv $srcdir/zod_engine $pkgdir/usr/lib/commander-zod
30         mkdir -p $pkgdir/usr/bin
31         mkdir -p $pkgdir/usr/share/applications/
32         cd $startdir
33         install -m755 commander-zod $pkgdir/usr/bin/
34         install -m644 commander-zod.desktop $pkgdir/usr/share/applications/