Date: Friday, September 23, 2022 @ 19:52:59
  Author: felixonmars
Revision: 1309216

upgpkg: haskell-ghc-parser 0.2.4.0-1: rebuild with ghc-parser 0.2.4.0

Modified:
  haskell-ghc-parser/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-23 19:51:38 UTC (rev 1309215)
+++ PKGBUILD    2022-09-23 19:52:59 UTC (rev 1309216)
@@ -2,7 +2,7 @@
 
 _hkgname=ghc-parser
 pkgname=haskell-ghc-parser
-pkgver=0.2.3.0
+pkgver=0.2.4.0
 pkgrel=1
 pkgdesc="Haskell source parser from GHC."
 url="https://github.com/gibiansky/IHaskell";
@@ -9,20 +9,20 @@
 license=("MIT")
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-ghc')
-makedepends=('ghc' 'haskell-cpphs' 'happy')
+makedepends=('ghc')
 
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
-sha256sums=('96be38d7a94e6e6272d7359a25cdca41477dcc5c04980c1bb9137fc18d1da9ea')
+sha256sums=('894955c733cfe64b24aeb72c75c0af3f9ec5640cd467835f97a19fb1af3dfee8')
 
 build() {
   cd $_hkgname-$pkgver
 
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
-    --prefix=/usr --docdir=/usr/share/doc/$pkgname 
--datasubdir=haskell-ghc-parser --enable-tests \
-    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+    --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--datasubdir=haskell-ghc-parser --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
@@ -31,7 +31,7 @@
 
 check() {
   cd $_hkgname-$pkgver
-  runhaskell Setup test
+  runhaskell Setup test --show-details=direct
 }
 
 package() {

Reply via email to