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

Felix Yan felixonmars at gemini.archlinux.org
Mon Jan 17 08:20:28 UTC 2022


    Date: Monday, January 17, 2022 @ 08:20:27
  Author: felixonmars
Revision: 1107491

upgpkg: haskell-lua 2.0.2-1: rebuild with lua 2.0.2

Modified:
  haskell-lua/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-17 08:18:42 UTC (rev 1107490)
+++ PKGBUILD	2022-01-17 08:20:27 UTC (rev 1107491)
@@ -2,7 +2,7 @@
 
 _hkgname=lua
 pkgname=haskell-lua
-pkgver=2.0.1
+pkgver=2.0.2
 pkgrel=1
 pkgdesc="Lua, an embeddable scripting language"
 url="https://hslua.org/"
@@ -11,7 +11,7 @@
 depends=('ghc-libs')
 makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit')
 source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha256sums=('b77e905038ec625827b8a63decd746364834edd5c6ac5aaaf2778a32b106c5b9')
+sha256sums=('fc5d5f11e8d4c47e8f1feb59b4d2971252f42b4c0e49d2ebcd3d5d1334e74b43')
 
 prepare() {
   cd $_hkgname-$pkgver
@@ -23,11 +23,11 @@
 
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
     --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
-    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+    --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
@@ -36,7 +36,7 @@
 
 check() {
   cd $_hkgname-$pkgver
-  runhaskell Setup test
+  runhaskell Setup test --show-details=direct
 }
 
 package() {



More information about the arch-commits mailing list