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

Felix Yan felixonmars at archlinux.org
Wed Aug 5 19:12:53 UTC 2020


    Date: Wednesday, August 5, 2020 @ 19:12:52
  Author: felixonmars
Revision: 670314

upgpkg: haskell-fgl 5.7.0.3-1: rebuild with fgl 5.7.0.3

Modified:
  haskell-fgl/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-05 19:06:48 UTC (rev 670313)
+++ PKGBUILD	2020-08-05 19:12:52 UTC (rev 670314)
@@ -3,25 +3,25 @@
 
 _hkgname=fgl
 pkgname=haskell-fgl
-pkgver=5.7.0.2
-pkgrel=4
+pkgver=5.7.0.3
+pkgrel=1
 pkgdesc="Martin Erwig's Functional Graph Library"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("BSD")
 arch=('x86_64')
 depends=('ghc-libs')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-hspec' 'haskell-quickcheck')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('a259cd9abe236cfec892d520b27e293293071ce1b435055cd009087d7d1fc2a87b71306e362020d3e8f6460c538da4e686c6b08b13361fc07c1e978b49a775fd')
+sha512sums=('f77ee1a66fe02b0a01e70b6fcb16baaba67be5433e4310bfb0862cec66855fc0413de586ca111e2e1569898b890fe93faf7c9f079dc569ca2d32b6c087762bbd')
 
 build() {
     cd $_hkgname-$pkgver
     
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
             -fcontainers042
-    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
@@ -28,6 +28,11 @@
     sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+    cd $_hkgname-$pkgver
+    runhaskell Setup test
+}
+
 package() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list