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

Alexander Rødseth arodseth at archlinux.org
Sat May 29 20:42:42 UTC 2021


    Date: Saturday, May 29, 2021 @ 20:42:41
  Author: arodseth
Revision: 950243

upgpkg: openttd 1.11.2-3

Modified:
  openttd/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-29 20:35:16 UTC (rev 950242)
+++ PKGBUILD	2021-05-29 20:42:41 UTC (rev 950243)
@@ -16,6 +16,11 @@
 source=("https://proxy.binaries.openttd.org/openttd-releases/$pkgver/$pkgname-$pkgver-source.tar.xz")
 b2sums=('c71fd98a480566aede29f84afbd100b6d0dfa80311860907a7287d2d5bed74bd492c2b1012cd83f45fe68d60fb0c2378e1384530a84c28bd7fbd907b45110491')
 
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i '/sse/d;/SSE/d' CMakeLists.txt
+}
+
 build() {
   cmake \
     -B build \
@@ -23,7 +28,7 @@
     -D CMAKE_INSTALL_PREFIX=/usr \
     -D CMAKE_INSTALL_BINDIR=bin \
     -D CMAKE_INSTALL_DATADIR=/usr/share \
-    -D CMAKE_CXX_FLAGS='-mtune=generic' \
+    -D CMAKE_CXX_FLAGS=' -mtune=generic' \
     -G Ninja \
     -S $pkgname-$pkgver
   ninja -C build



More information about the arch-commits mailing list