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

Felix Yan felixonmars at archlinux.org
Thu Jun 15 02:41:51 UTC 2017


    Date: Thursday, June 15, 2017 @ 02:41:50
  Author: felixonmars
Revision: 236894

upgpkg: haskell-cryptonite 0.23-4

rebuild with ghc,8.0.2

Modified:
  haskell-cryptonite/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 02:37:53 UTC (rev 236893)
+++ PKGBUILD	2017-06-15 02:41:50 UTC (rev 236894)
@@ -5,12 +5,12 @@
 _hkgname=cryptonite
 pkgname=haskell-cryptonite
 pkgver=0.23
-pkgrel=3
+pkgrel=4
 pkgdesc="Cryptography Primitives sink"
 url="https://github.com/vincenthz/cryptonite"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" 'haskell-foundation' 'haskell-memory')
+depends=("ghc" 'haskell-foundation' 'haskell-memory')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('2ca72aeed88eefeea96cd2fcaabff752d80ac2fe793e35f8a4b414f6bb4c804dfbf7c90ba7c935372b5cb1506a750143e990d92f83527700ad1299d21143af45')
 
@@ -17,7 +17,7 @@
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     
-    runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --libsubdir=\$compiler/site-local/\$pkgid \
             -fsupport_deepseq -finteger-gmp -f-support_pclmuldq -fsupport_rdrand \
@@ -40,4 +40,7 @@
     runhaskell Setup copy --destdir="${pkgdir}"
     install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+
+    # Remove static libs
+    find "$pkgdir"/usr/lib -name "*.a" -delete
 }



More information about the arch-commits mailing list