summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD20
2 files changed, 17 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6703a9dfe10..0c0fd6b4dcf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,22 @@
+# Generated by mksrcinfo v8
+# Wed Jan 22 20:13:47 UTC 2020
pkgbase = lander
pkgdesc = A Lunar Lander clone.
- pkgver = 0.6.6
+ pkgver = 0.7.2
pkgrel = 1
url = http://www.doof.me.uk/lunar-lander/
arch = i686
arch = x86_64
license = GPL
makedepends = boost
+ makedepends = meson
+ makedepends = ninja
depends = sdl_mixer
depends = sdl_image
depends = glu
depends = boost-libs
- source = http://www.nickg.me.uk/files/lander-0.6.6.tar.gz
- md5sums = 8ab1d2e426eb430db4641e780d16656d
+ source = http://www.nickg.me.uk/files/lander-0.7.2.tar.xz
+ md5sums = f311d1762d5665e70003fd1375bfb582
pkgname = lander
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
}