[arch-commits] Commit in haskell-sdl2-ttf/trunk (PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sun Aug 21 08:02:17 UTC 2022


    Date: Sunday, August 21, 2022 @ 08:02:17
  Author: felixonmars
Revision: 1271825

upgpkg: haskell-sdl2-ttf 2.1.2-2: rebuild with ChasingBottoms 1.3.1.12

Modified:
  haskell-sdl2-ttf/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-21 08:02:07 UTC (rev 1271824)
+++ PKGBUILD	2022-08-21 08:02:17 UTC (rev 1271825)
@@ -3,7 +3,7 @@
 _hkgname=sdl2-ttf
 pkgname=haskell-sdl2-ttf
 pkgver=2.1.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Bindings to SDL2_ttf"
 url="https://github.com/haskell-game/sdl2-ttf"
 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-ttf --enable-tests \
-    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+    --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --datasubdir=haskell-sdl2-ttf --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-example
 
-  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
-  runhaskell Setup test
+  runhaskell Setup test --show-details=direct
 }
 
 package() {



More information about the arch-commits mailing list