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

Alexander Rødseth arodseth at archlinux.org
Sat May 29 21:15:14 UTC 2021


    Date: Saturday, May 29, 2021 @ 21:15:13
  Author: arodseth
Revision: 950262

upgpkg: openttd 1.11.2-4

Modified:
  openttd/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-29 21:10:24 UTC (rev 950261)
+++ PKGBUILD	2021-05-29 21:15:13 UTC (rev 950262)
@@ -4,7 +4,7 @@
 
 pkgname=openttd
 pkgver=1.11.2
-pkgrel=3
+pkgrel=4
 pkgdesc='Engine for running Transport Tycoon Deluxe'
 arch=(x86_64)
 url='https://www.openttd.org'
@@ -17,8 +17,7 @@
 b2sums=('c71fd98a480566aede29f84afbd100b6d0dfa80311860907a7287d2d5bed74bd492c2b1012cd83f45fe68d60fb0c2378e1384530a84c28bd7fbd907b45110491')
 
 prepare() {
-  cd $pkgname-$pkgver
-  sed -i '/sse/d;/SSE/d' CMakeLists.txt
+  sed -i '/sse/d;/SSE/d' $pkgname-$pkgver/CMakeLists.txt
 }
 
 build() {
@@ -28,7 +27,6 @@
     -D CMAKE_INSTALL_PREFIX=/usr \
     -D CMAKE_INSTALL_BINDIR=bin \
     -D CMAKE_INSTALL_DATADIR=/usr/share \
-    -D CMAKE_CXX_FLAGS=' -mtune=generic' \
     -G Ninja \
     -S $pkgname-$pkgver
   ninja -C build



More information about the arch-commits mailing list