updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / xut / PKGBUILD
blobee59bb6324ed3d84dba7d40310a6109f0efdb8a6
1 # Maintainer: Dany Martineau <dany.luc.martineau gmail.com>
3 pkgname=xut
4 pkgver=0.2.1
5 pkgrel=1
6 pkgdesc="Button football simulation, a turn based game where you play football (soccer) with buttons, boxes and simple rules."
7 arch=('i686' 'x86_64')
8 url="http://xut.dnteam.org/"
9 license=('GPL2')
10 makedepends=('make' 'autoconf' 'gettext')
11 depends=('sdl_image' 'sdl_ttf' 'openal' 'cal3d' 'libvorbis' 'libgl')
12 source=(http://downloads.sourceforge.net/digenv/${pkgname}-${pkgver}.tar.bz2  xut.desktop)
13 md5sums=('407d9f543ec533f85358c9166ff27a5c'
14          '766690e99d14888abd9a251512bcbdf4')
15 LDFLAGS=""
17 build() {
18 cd ${srcdir}/${pkgname}
19 ./configure --prefix=/usr
20 make
23 package() {
24 cd ${srcdir}/${pkgname}
25 mkdir -p ${pkgdir}/usr/bin
26 install -c -m 755 bin/xut ${pkgdir}/usr/bin
27 sh install.sh ${pkgdir}/usr/share xut install
28 cd po
29 make DESTDIR=${pkgdir} install > /dev/null
30 mkdir -p ${pkgdir}/usr/share/applications
31 install ${srcdir}/xut.desktop ${pkgdir}/usr/share/applications