Subject: [PATCH] community/openrct2: upgrade to 0.2.3

From: Bart Ribbers <[email-masked]>
Date: Fri, 2 Aug 2019 23:47:27 +0200

---
 community/openrct2/APKBUILD | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/community/openrct2/APKBUILD b/community/openrct2/APKBUILD
index 51b3a5aeec..5e869aad46 100644
--- a/community/openrct2/APKBUILD
+++ b/community/openrct2/APKBUILD
@@ -1,20 +1,20 @@
 # Contributor: Bart Ribbers <[email-masked]>
 # Maintainer: Bart Ribbers <[email-masked]>
 pkgname=openrct2
-pkgver=0.2.2
-_pkgver_objects=1.0.9
+pkgver=0.2.3
+_pkgver_objects=1.0.11
 _pkgver_title_sequences=0.1.2
-pkgrel=2
+pkgrel=0
 pkgdesc="Open-source re-implementation of Roller Coaster Tycoon 2"
 arch="all !s390x" # Build fails on s390x
 url="https://openrct2.io"
-license="GPL-3.0"
+license="GPL-3.0-only"
 makedepends="cmake ninja jansson-dev libzip-dev libpng-dev speexdsp-dev fontconfig-dev curl-dev icu-dev sdl2-dev mesa-dev fts-dev unzip"
 install="$pkgname.post-install"
 source="$pkgname-$pkgver.tar.gz::https://github.com/openrct2/openrct2/archive/v$pkgver.tar.gz
 	$pkgname-$pkgver-title_sequences.zip::https://github.com/OpenRCT2/title-sequences/releases/download/v$_pkgver_title_sequences/title-sequence-v$_pkgver_title_sequences.zip
 	$pkgname-$pkgver-objects.zip::https://github.com/OpenRCT2/objects/releases/download/v$_pkgver_objects/objects.zip"
-subpackages="$pkgname-cli $pkgname-doc"
+subpackages="$pkgname-static $pkgname-doc $pkgname-cli"
 options="!check" # No tests available
 builddir="$srcdir/OpenRCT2-$pkgver"
 
@@ -29,13 +29,13 @@ prepare() {
 build() {
 	cd "$builddir"/build
 
-	cmake -G Ninja \
+	cmake -G Ninja "$builddir"  \
 		-DCMAKE_BUILD_TYPE=Release \
 		-DCMAKE_INSTALL_PREFIX=/usr \
-		-DCMAKE_INSTALL_LIBDIR=/usr/lib \
+		-DCMAKE_INSTALL_LIBDIR=lib \
 		-DWITH_TESTS=ON \
 		-DDOWNLOAD_TITLE_SEQUENCES=OFF \
-		-DDOWNLOAD_OBJECTS=OFF ..
+		-DDOWNLOAD_OBJECTS=OFF
 	ninja
 }
 
@@ -56,6 +56,6 @@ cli() {
 	mkdir -p "$subpkgdir"/usr/bin
 	mv "$pkgdir"/usr/bin/openrct2-cli "$subpkgdir"/usr/bin/openrct2-cli
 }
-sha512sums="dd02da50cb13ca7df95f1d7d1529829df5ad39d9a7eed1a4ce88891b4f6ef77e66f25efd9715a53da5180dcd22696de4a9cb8fbf8c9195b2d8fb83115775cb7c  openrct2-0.2.2.tar.gz
-7592c5397ceb27347c127ae5c4f8e11d7ef2ff23c97f627b354f941894420f546ffdcff88e2348e42c82d182ccf620e739c745d894a9b5650a0d7d028b68a106  openrct2-0.2.2-title_sequences.zip
-2138115fcba8a92aaacd58749f1c5778dde997908f69d5287edc267e8225dbbaa4536768829c019f2966d694745726fd5201806ff889b4c4ac69d27283a0c387  openrct2-0.2.2-objects.zip"
+sha512sums="01a2db58277ef1c2210b5f7d04124c1a051a48877a2cbfc8fdaf63e1927a26f62c1d15c0158b5126924c21e032050d2580c7079b8c4803cf2bcd154f9602c2fc  openrct2-0.2.3.tar.gz
+7592c5397ceb27347c127ae5c4f8e11d7ef2ff23c97f627b354f941894420f546ffdcff88e2348e42c82d182ccf620e739c745d894a9b5650a0d7d028b68a106  openrct2-0.2.3-title_sequences.zip
+93b9b54cc9f9d3850669a7ed38f9dbf4f462b6b4fbc087ab0b5b6f484aa5fda47d4138c9b6da3460fbbed256411d36a38bf8f195ef1432557205a30f356c0c1b  openrct2-0.2.3-objects.zip"
-- 
2.22.0