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

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


    Date: Saturday, September 23, 2017 @ 15:36:22
  Author: felixonmars
Revision: 260036

upgpkg: haskell-language-c 0.6.1-7

Modified:
  haskell-language-c/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 15:36:03 UTC (rev 260035)
+++ PKGBUILD	2017-09-23 15:36:22 UTC (rev 260036)
@@ -5,7 +5,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.6.1
-pkgrel=6
+pkgrel=7
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/"
 license=("custom:BSD3")
@@ -14,8 +14,8 @@
 makedepends=('happy' 'alex' 'ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz"
         float128.patch)
-sha256sums=('23cadc9d04e46490ec57f56b79ecdc2a709ebf57571345905e6e30db29fa37e8'
-            'e9ca5665c11229f67b2b411aedd98ede1d4a1639c91c667ef9ac611071b0ec69')
+sha512sums=('e20711aaf4206fedd8dbd37b0093f0b7cda1ea67971f05875cd895949cd892f1e10a9d554880508781a37323386c043742219377d0de5b1a27748b4cc8d183dc'
+            '71498a0578c7f318d2d62e652c5498d60895a9b480a31e3b4629e66d33bd4c0e55502b72d077ce1411722b102375420349fc3ccfe80fc9cc10a64e6394f32df6')
 
 prepare() {
     cd $_hkgname-$pkgver
@@ -28,7 +28,7 @@
 
     rm -fr dist
 
-    runhaskell Setup configure -O --enable-executable-dynamic --enable-shared \
+    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 \
             -fseparatesyb -fusebytestrings -fsplitbase
@@ -47,7 +47,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