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

Felix Yan felixonmars at archlinux.org
Fri Jun 16 09:23:08 UTC 2017


    Date: Friday, June 16, 2017 @ 09:23:07
  Author: felixonmars
Revision: 237579

upgpkg: haskell-foldl 1.3.0-2

rebuild with ghc,8.0.2

Modified:
  haskell-foldl/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-16 09:21:26 UTC (rev 237578)
+++ PKGBUILD	2017-06-16 09:23:07 UTC (rev 237579)
@@ -5,14 +5,14 @@
 _hkgname=foldl
 pkgname=haskell-foldl
 pkgver=1.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Composable, streaming, and efficient left folds"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-comonad" "haskell-contravariant" "haskell-mwc-random"
-         "haskell-primitive" "haskell-profunctors" "haskell-text" "haskell-unordered-containers"
-         "haskell-vector" "haskell-vector-builder")
+depends=("ghc" "haskell-comonad" "haskell-contravariant" "haskell-mwc-random" "haskell-primitive"
+         "haskell-profunctors" "haskell-text" "haskell-unordered-containers" "haskell-vector"
+         "haskell-vector-builder")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('af94a4faa8ec9f96ad0106e412902fce1cfbdee2d1044b8fed68f75a9220e8761be043308b54db534184badec94dc23371b656c79214aa0c739c63bbe92040f1')
 
@@ -19,7 +19,7 @@
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     
-    runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
@@ -40,4 +40,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