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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 05:11:44 UTC 2017


    Date: Saturday, September 23, 2017 @ 05:11:43
  Author: felixonmars
Revision: 259820

upgpkg: haskell-dns 2.0.13-2

Modified:
  haskell-dns/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 23:39:50 UTC (rev 259819)
+++ PKGBUILD	2017-09-23 05:11:43 UTC (rev 259820)
@@ -5,7 +5,7 @@
 _hkgname=dns
 pkgname=haskell-dns
 pkgver=2.0.13
-pkgrel=1
+pkgrel=2
 pkgdesc="DNS library in Haskell"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -19,7 +19,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
@@ -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