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

Felix Yan felixonmars at archlinux.org
Fri Sep 22 16:38:21 UTC 2017


    Date: Friday, September 22, 2017 @ 16:38:21
  Author: felixonmars
Revision: 259630

upgpkg: haskell-bencode 0.6.0.0-9

Modified:
  haskell-bencode/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 16:38:08 UTC (rev 259629)
+++ PKGBUILD	2017-09-22 16:38:21 UTC (rev 259630)
@@ -5,7 +5,7 @@
 _hkgname=bencode
 pkgname=haskell-bencode
 pkgver=0.6.0.0
-pkgrel=8
+pkgrel=9
 pkgdesc="Parser and printer for bencoded data."
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -13,12 +13,12 @@
 depends=('ghc-libs' "haskell-parsec")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('3b8efdfecee9bc486d9bcdbb633b7128ca235360f102478a7e0f8c895281f68a')
+sha512sums=('be05a5a086d095e8ed79318c7b0a6e5e29f2483f8c9cbfe768c339353d473f8eb5c3060aaed9d60675bdfd13686e02b2261939ca6d34cc9488318daf2cc664d1')
 
 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 "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