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

Felix Yan felixonmars at archlinux.org
Fri Sep 22 15:41:01 UTC 2017


    Date: Friday, September 22, 2017 @ 15:41:00
  Author: felixonmars
Revision: 259552

upgpkg: haskell-http-types 0.9.1-14

Modified:
  haskell-http-types/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 15:39:33 UTC (rev 259551)
+++ PKGBUILD	2017-09-22 15:41:00 UTC (rev 259552)
@@ -5,7 +5,7 @@
 _hkgname=http-types
 pkgname=haskell-http-types
 pkgver=0.9.1
-pkgrel=13
+pkgrel=14
 pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('custom:BSD3')
@@ -13,11 +13,11 @@
 depends=('ghc-libs' 'haskell-blaze-builder' 'haskell-case-insensitive' 'haskell-text')
 makedepends=('ghc')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-md5sums=('80c6ba409125f2ec5ed51b94e7621d7d')
+sha512sums=('b51c0f6946d1952fa0e91db1164d77ab12e0709fdf9555b53f5c25ed7c55365b433733a933dd2765ce14d0ca2685edce7573c9dbfb75ae49443b4f177d170c40')
 
 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 -fnetwork-uri
     runhaskell Setup build
@@ -35,7 +35,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