Date: Saturday, September 23, 2017 @ 16:19:43
  Author: felixonmars
Revision: 260102

upgpkg: haskell-cryptohash-md5 0.11.100.1-4

Modified:
  haskell-cryptohash-md5/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-09-23 16:19:05 UTC (rev 260101)
+++ PKGBUILD    2017-09-23 16:19:43 UTC (rev 260102)
@@ -4,7 +4,7 @@
 _hkgname=cryptohash-md5
 pkgname=haskell-cryptohash-md5
 pkgver=0.11.100.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Fast, pure and practical MD5 implementation"
 url="https://github.com/hvr/cryptohash-md5";
 license=("custom:BSD3")
@@ -12,7 +12,7 @@
 depends=('ghc-libs')
 makedepends=('ghc')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
-sha256sums=('710bd48770fa3e9a3b05428c6dc77fb72c91956d334a1eb89ded11bb843e18f9')
+sha512sums=('f2efb197005ed5f12a7c2be490a64a83186cacb34eaedec6cbd76e52c30221733da1d31201c5209538226508db760fd9eed0afc8d72643e1509b32c7287cb12e')
 
 prepare() {
     sed -i 's/base             >= 4.5   && < 4.10/base             >= 4.5/' 
$_hkgname-$pkgver/$_hkgname.cabal
@@ -21,7 +21,7 @@
 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
@@ -39,7 +39,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
 }

Reply via email to