updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / tecnoballz-snapshot / PKGBUILD
blob6474f885841176f972afc173dd6f7ae9f496c12a
1 #Contributor: SaintShakaJin <saintshakajin.3@laposte.net>
3 pkgname=tecnoballz-snapshot
4 pkgver=20060616
5 pkgrel=2
6 _patch=2
7 conflicts=('tecnoballz-cvs')
8 provides=('tecnoballz')
9 pkgdesc="TecnoballZ is a 'breaking blocks' game that was originally written for the Amiga platfrom."
10 url="http://linux.tlk.fr/games/TecnoballZ/"
11 depends=('x-server' 'sdl' 'sdl_mixer' 'libmikmod' 'smpeg')
12 makedepends=('gcc' 'make')
13 source=(http://ftp.debian.org/debian/pool/main/t/tecnoballz/tecnoballz_0.91cvs${pkgver}.orig.tar.gz 
14         http://ftp.debian.org/debian/pool/main/t/tecnoballz/tecnoballz_0.91cvs${pkgver}-${_patch}.diff.gz 
15         tecnoballz.sh)
16 md5sums=('aa0b2f5a6ccf02676552c02b3f41f046' 'd284d543d18afbd95cb86c84c0e9c410'\
17          'b4a77e5fef5f8de7bb9ca8cc5163fd09')
19 build() {
20     cd $startdir/src/tecnoballz-0.91cvs${pkgver}
21     patch -Np1 -i ../tecnoballz_0.91cvs${pkgver}-${_patch}.diff
22     ./bootstrap
23     ./configure --prefix=/usr
24     make || return 1
25     make DESTDIR=$startdir/pkg install
26     mkdir -p $startdir/pkg/etc/profile.d
27     install -m755 $startdir/src/tecnoballz.sh $startdir/pkg/etc/profile.d