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

Felix Yan felixonmars at archlinux.org
Fri Jun 16 08:00:39 UTC 2017


    Date: Friday, June 16, 2017 @ 08:00:37
  Author: felixonmars
Revision: 237529

upgpkg: haskell-lens 4.15.3-2

rebuild with ghc,8.0.2

Modified:
  haskell-lens/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-16 07:47:18 UTC (rev 237528)
+++ PKGBUILD	2017-06-16 08:00:37 UTC (rev 237529)
@@ -5,12 +5,12 @@
 _hkgname=lens
 pkgname=haskell-lens
 pkgver=4.15.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Lenses, Folds and Traversals"
 url="http://github.com/ekmett/lens/"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-base-orphans" "haskell-bifunctors" "haskell-comonad"
+depends=("ghc" "haskell-base-orphans" "haskell-bifunctors" "haskell-comonad"
          "haskell-contravariant" "haskell-distributive" "haskell-exceptions" "haskell-free"
          "haskell-hashable" "haskell-kan-extensions" "haskell-mtl" "haskell-parallel"
          "haskell-profunctors" "haskell-reflection" "haskell-semigroupoids" "haskell-semigroups"
@@ -22,7 +22,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 \
             -f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties -ftest-hunit \
@@ -46,4 +46,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