summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bfa8326f0d221cf192a15ad63580394e4d154444 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: b4283 <damispirit@gmail>

pkgname=lander
pkgver=0.6.6
pkgrel=1
pkgdesc="A Lunar Lander clone."
arch=('i686' 'x86_64')
url="http://www.doof.me.uk/lunar-lander/"
# https://github.com/nickg/lander
license=('GPL')
depends=('sdl_mixer' 'sdl_image' 'glu' 'boost-libs')
makedepends=('boost')
source=(http://www.nickg.me.uk/files/lander-$pkgver.tar.gz)
md5sums=('8ab1d2e426eb430db4641e780d16656d')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  # boost patch
  #sed -i 's/file_string/string/' src/Main.cpp
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}