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

Felix Yan felixonmars at archlinux.org
Fri Sep 22 14:16:06 UTC 2017


    Date: Friday, September 22, 2017 @ 14:16:05
  Author: felixonmars
Revision: 259480

upgpkg: haskell-digest 0.0.1.2-6

Modified:
  haskell-digest/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 14:15:50 UTC (rev 259479)
+++ PKGBUILD	2017-09-22 14:16:05 UTC (rev 259480)
@@ -5,7 +5,7 @@
 _hkgname=digest
 pkgname=haskell-digest
 pkgver=0.0.1.2
-pkgrel=5
+pkgrel=6
 pkgdesc="Various cryptographic hashes for bytestrings; CRC32 and Adler32 for now."
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -13,12 +13,12 @@
 depends=('ghc-libs' "zlib")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('641717eb16392abf8965986a9e8dc21eebf1d97775bbb6923c7b7f8fee17fe11')
+sha512sums=('f7961c098677c0e75561e3706446b073f60c6a8646aca6d139d6559952b2cba189221ac8af59f2dc6e4da65ee4a789f703e2ebbcf1e9c3df3f98167409bdf7c9')
 
 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 \
             -f-bytestring-in-base
@@ -37,7 +37,4 @@
     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