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

Felix Yan felixonmars at archlinux.org
Tue Nov 10 12:28:50 UTC 2020


    Date: Tuesday, November 10, 2020 @ 12:28:50
  Author: felixonmars
Revision: 749483

upgpkg: haskell-cryptonite 0.27-29: rebuild with cryptonite +tests enabled

Modified:
  haskell-cryptonite/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-10 12:25:46 UTC (rev 749482)
+++ PKGBUILD	2020-11-10 12:28:50 UTC (rev 749483)
@@ -4,7 +4,7 @@
 _hkgname=cryptonite
 pkgname=haskell-cryptonite
 pkgver=0.27
-pkgrel=28
+pkgrel=29
 pkgdesc="Cryptography Primitives sink"
 url="https://github.com/vincenthz/cryptonite"
 license=("BSD")
@@ -19,7 +19,7 @@
     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 \
             -fsupport_deepseq -finteger-gmp -f-support_pclmuldq -fsupport_rdrand \
             -fsupport_aesni -f-old_toolchain_inliner -f-check_alignment -fsupport_sse
@@ -30,6 +30,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