author | Alexander Rødseth
<xyproto@archlinux.org> 2021-05-29 21:15:13 UTC |
committer | Alexander Rødseth
<xyproto@archlinux.org> 2021-05-29 21:15:13 UTC |
parent | 3638b181daa555ecadf0dcbed13cb697fc6d77d0 |
PKGBUILD | +2 | -4 |
diff --git a/PKGBUILD b/PKGBUILD index 20d3df8..51b9d53 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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 @@ source=("https://proxy.binaries.openttd.org/openttd-releases/$pkgver/$pkgname-$p 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 @@ build() { -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