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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 15:20:22 UTC 2017


    Date: Saturday, September 23, 2017 @ 15:20:21
  Author: felixonmars
Revision: 260008

upgpkg: haskell-protolude 0.2-3

Modified:
  haskell-protolude/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 15:20:09 UTC (rev 260007)
+++ PKGBUILD	2017-09-23 15:20:21 UTC (rev 260008)
@@ -5,7 +5,7 @@
 _hkgname=protolude
 pkgname=haskell-protolude
 pkgver=0.2
-pkgrel=2
+pkgrel=3
 pkgdesc="A sensible set of defaults for writing custom Preludes."
 url="https://github.com/sdiehl/protolude"
 license=("MIT")
@@ -23,7 +23,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
@@ -41,7 +41,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