[arch-commits] Commit in haskell-sdl2/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Aug 21 07:51:02 UTC 2022
Date: Sunday, August 21, 2022 @ 07:51:01
Author: felixonmars
Revision: 1271770
upgpkg: haskell-sdl2 2.5.3.3-2: rebuild with ChasingBottoms 1.3.1.12
Modified:
haskell-sdl2/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-21 07:50:50 UTC (rev 1271769)
+++ PKGBUILD 2022-08-21 07:51:01 UTC (rev 1271770)
@@ -3,7 +3,7 @@
_hkgname=sdl2
pkgname=haskell-sdl2
pkgver=2.5.3.3
-pkgrel=1
+pkgrel=2
pkgdesc="Both high- and low-level bindings to the SDL library"
url="https://github.com/haskell-game/sdl2.git"
license=("BSD")
@@ -17,13 +17,13 @@
cd $_hkgname-$pkgver
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=haskell-sdl2 --enable-tests \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --datasubdir=haskell-sdl2 --enable-tests \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
--ghc-option='-pie' \
-f-examples -f-no-linear -f-opengl-example -frecent-ish
- runhaskell Setup build
+ runhaskell Setup build $MAKEFLAGS
runhaskell Setup register --gen-script
runhaskell Setup unregister --gen-script
sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
@@ -32,7 +32,7 @@
check() {
cd $_hkgname-$pkgver
- xvfb-run runhaskell Setup test
+ xvfb-run runhaskell Setup test --show-details=direct
}
package() {
More information about the arch-commits
mailing list