updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / sdlsasteroids / PKGBUILD
blob92465f8e8387a8807fe1457a78b97bc5b6a8aa35
1 #Maintainer: Matthew Stewart <stewartmatthew6@gmail.com>
2 pkgname=sdlsasteroids
3 pkgver=3.01
4 pkgrel=1
5 pkgdesc="A remake of Sasteroids for modern hardware"
6 arch=('i686' 'x86_64')
7 url="http://sdlsas.sourceforge.net/"
8 license=('GPL')
9 groups=()
10 depends=('sdl' 'sdl_image' 'sdl_ttf' 'sdl_mixer' 'mesa')
11 makedepends=()
12 optdepends=()
13 provides=()
14 conflicts=()
15 replaces=()
16 backup=()
17 options=()
18 install=
19 source=('http://sourceforge.net/projects/sdlsas/files/SDL%20Sasteroids%20Source%20Releases/3.0.1/SDLSasteroids-3.0.1.tar.gz'
20         'sbitmap.patch'
21         'makefile.patch')
22 noextract=()
23 md5sums=('511d1ab59a2688bd618522c025a1f33b'
24          '5a7ba1f27f00085d17cb6c602ed6e42b'
25          '6abafed182d339883f84d4b266f436a3')
27 build() {
28   cd $srcdir
29   patch -p1 -i sbitmap.patch
30   patch -p1 -i makefile.patch
31   cd $srcdir/SDLSasteroids-3.0.1
32   make
35 package() {
36   cd $srcdir/SDLSasteroids-3.0.1
37   make DESTDIR=$pkgdir install