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

Felix Yan felixonmars at gemini.archlinux.org
Mon Jul 25 09:01:24 UTC 2022


    Date: Monday, July 25, 2022 @ 09:01:23
  Author: felixonmars
Revision: 1257218

upgpkg: haskell-witherable 0.4.2-2: rebuild with inspection-testing 0.5, tasty-inspection-testing 0.2

Modified:
  haskell-witherable/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-25 09:01:17 UTC (rev 1257217)
+++ PKGBUILD	2022-07-25 09:01:23 UTC (rev 1257218)
@@ -3,7 +3,7 @@
 _hkgname=witherable
 pkgname=haskell-witherable
 pkgver=0.4.2
-pkgrel=1
+pkgrel=2
 pkgdesc="filterable traversable"
 url="https://github.com/fumieval/witherable"
 license=("BSD")
@@ -24,12 +24,12 @@
   cd $_hkgname-$pkgver
 
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-    --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=haskell-witherable --enable-tests \
-    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+    --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --datasubdir=haskell-witherable --enable-tests \
+    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
     --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
     --ghc-option='-pie' 
 
-  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
@@ -38,7 +38,7 @@
 
 check() {
   cd $_hkgname-$pkgver
-  runhaskell Setup test
+  runhaskell Setup test --show-details=direct
 }
 
 package() {



More information about the arch-commits mailing list