[arch-commits] Commit in openttd/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Mon May 24 21:40:23 UTC 2021


    Date: Monday, May 24, 2021 @ 21:40:22
  Author: arodseth
Revision: 944934

upgpkg: openttd 1.11.2-2

Modified:
  openttd/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-24 21:37:42 UTC (rev 944933)
+++ PKGBUILD	2021-05-24 21:40:22 UTC (rev 944934)
@@ -4,7 +4,7 @@
 
 pkgname=openttd
 pkgver=1.11.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Engine for running Transport Tycoon Deluxe'
 arch=(x86_64)
 url='https://www.openttd.org'
@@ -19,13 +19,14 @@
 build() {
   cmake \
     -B build \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_BINDIR=bin \
-    -DCMAKE_INSTALL_DATADIR=/usr/share \
-    -DGLOBAL_DATA_DIR=/usr/share/openttd \
+    -D CMAKE_BUILD_TYPE=Release \
+    -D CMAKE_INSTALL_PREFIX=/usr \
+    -D CMAKE_INSTALL_BINDIR=bin \
+    -D CMAKE_INSTALL_DATADIR=/usr/share \
     -G Ninja \
     -S $pkgname-$pkgver
   ninja -C build
+  cd build
 }
 
 package() {



More information about the arch-commits mailing list