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

Felix Yan felixonmars at archlinux.org
Mon May 22 08:14:56 UTC 2017


    Date: Monday, May 22, 2017 @ 08:14:55
  Author: felixonmars
Revision: 228976

upgpkg: haskell-language-c 0.6.1-3

dynamic linking experiment

Modified:
  haskell-language-c/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-22 08:11:48 UTC (rev 228975)
+++ PKGBUILD	2017-05-22 08:14:55 UTC (rev 228976)
@@ -5,7 +5,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.6.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/"
 license=("custom:BSD3")
@@ -28,7 +28,7 @@
     
     rm -fr dist
 
-    runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+    runhaskell Setup configure -O --enable-executable-dynamic --enable-shared \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --libsubdir=\$compiler/site-local/\$pkgid \
             -fseparatesyb -fusebytestrings -fsplitbase
@@ -50,4 +50,7 @@
     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