summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKyle Keen2020-01-22 15:13:49 -0500
committerKyle Keen2020-01-22 15:13:49 -0500
commit8240b46c3223bfc26ea7491edcfd529409ee7e59 (patch)
tree6fd42a2c6a31ae234e9777be9bdba0d23ed69bed /PKGBUILD
parent8de57a062d55c9982be88fbbd3a599987f3a1111 (diff)
downloadaur-lander.tar.gz
0.7.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 10 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bfa8326f0d2..338eb5826b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: b4283 <damispirit@gmail>
pkgname=lander
-pkgver=0.6.6
+pkgver=0.7.2
pkgrel=1
pkgdesc="A Lunar Lander clone."
arch=('i686' 'x86_64')
@@ -11,19 +11,19 @@ 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')
+makedepends=('boost' 'meson' 'ninja')
+source=(http://www.nickg.me.uk/files/lander-$pkgver.tar.xz)
+md5sums=('f311d1762d5665e70003fd1375bfb582')
build() {
cd "$srcdir/$pkgname-$pkgver"
- # boost patch
- #sed -i 's/file_string/string/' src/Main.cpp
- ./configure --prefix=/usr
- make
+ mkdir -p build
+ cd build
+ meson --prefix=/usr ../
+ ninja
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
+ cd "$srcdir/$pkgname-$pkgver/build"
+ DESTDIR="$pkgdir" ninja install
}