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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 16:51:05 UTC 2017


    Date: Saturday, September 23, 2017 @ 16:51:05
  Author: felixonmars
Revision: 260168

upgpkg: haskell-nettle 0.2.0-21

Modified:
  haskell-nettle/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 16:50:53 UTC (rev 260167)
+++ PKGBUILD	2017-09-23 16:51:05 UTC (rev 260168)
@@ -4,7 +4,7 @@
 _hkgname=nettle
 pkgname=haskell-nettle
 pkgver=0.2.0
-pkgrel=20
+pkgrel=21
 pkgdesc="Safe nettle binding"
 url="https://github.com/stbuehler/haskell-nettle"
 license=('MIT')
@@ -13,12 +13,12 @@
          'haskell-securemem')
 makedepends=('ghc')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-md5sums=('1635e7a0d6446f91872a5dac7f8aaba4')
+sha512sums=('31924b1db527c0033909eccccb566f1db71b3b355a14071e673160237172977c0286dc12ed54f9fe589dad759a234da57fe2ca0facecc98944cdcecaf9eb9812')
 
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
@@ -36,7 +36,4 @@
     runhaskell Setup copy --destdir="${pkgdir}"
     install -D -m644 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
-
-    # Remove static libs
-    find "$pkgdir"/usr/lib -name "*.a" -delete
 }



More information about the arch-commits mailing list