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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 17:07:35 UTC 2017


    Date: Saturday, September 23, 2017 @ 17:07:34
  Author: felixonmars
Revision: 260204

upgpkg: haskell-cpphs 1.20.8-3

Modified:
  haskell-cpphs/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 17:07:24 UTC (rev 260203)
+++ PKGBUILD	2017-09-23 17:07:34 UTC (rev 260204)
@@ -5,7 +5,7 @@
 _hkgname=cpphs
 pkgname=haskell-cpphs
 pkgver=1.20.8
-pkgrel=2
+pkgrel=3
 pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
 url="http://projects.haskell.org/cpphs/"
 license=("LGPL")
@@ -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
@@ -34,7 +34,4 @@
     install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
     install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
     runhaskell Setup copy --destdir="${pkgdir}"
-
-    # Remove static libs
-    find "$pkgdir"/usr/lib -name "*.a" -delete
 }



More information about the arch-commits mailing list