updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / tennix / PKGBUILD
blob694fbf821d24c7bb472695525195e237ef6c3203
1 # Maintainer: Tasos Latsas <tlatsas2000 _at_ gmail _dot_ com>
2 # Contributor: Nick B <Shirakawasuna at gmail _dot_ com>
4 pkgname=tennix
5 pkgver=1.1
6 pkgrel=1
7 pkgdesc="An SDL port of a simple two-player tennis game."
8 arch=('i686' 'x86_64')
9 url="http://icculus.org/tennix/"
10 license=('GPL2')
11 depends=('python2' 'sdl' 'sdl_image' 'sdl_mixer' 'sdl_ttf')
12 source=(http://icculus.org/tennix/downloads/${pkgname}-${pkgver}.tar.gz)
13 md5sums=('77cbcf2c948a6641824d55367377374b')
15 build() {
16   cd "${srcdir}/$pkgname-$pkgver"
18   # use python2
19   sed -i "s/python-config/python2-config/g" makefile
21   make PREFIX=/usr
24 package() {
25   cd "${srcdir}/$pkgname-$pkgver"
27   make PREFIX=/usr DESTDIR=${pkgdir} install