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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 16:35:45 UTC 2017


    Date: Saturday, September 23, 2017 @ 16:35:44
  Author: felixonmars
Revision: 260134

upgpkg: haskell-http-media 0.7.1.1-3

Modified:
  haskell-http-media/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 16:35:31 UTC (rev 260133)
+++ PKGBUILD	2017-09-23 16:35:44 UTC (rev 260134)
@@ -5,7 +5,7 @@
 _hkgname=http-media
 pkgname=haskell-http-media
 pkgver=0.7.1.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Processing HTTP Content-Type and Accept headers"
 url="https://github.com/zmthy/http-media"
 license=("MIT")
@@ -18,7 +18,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
@@ -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