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

Felix Yan felixonmars at archlinux.org
Thu Jun 15 10:42:52 UTC 2017


    Date: Thursday, June 15, 2017 @ 10:42:52
  Author: felixonmars
Revision: 237131

upgpkg: haskell-free 4.12.4-32

rebuild with ghc,8.0.2

Modified:
  haskell-free/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 10:40:44 UTC (rev 237130)
+++ PKGBUILD	2017-06-15 10:42:52 UTC (rev 237131)
@@ -5,15 +5,14 @@
 _hkgname=free
 pkgname=haskell-free
 pkgver=4.12.4
-pkgrel=31
+pkgrel=32
 pkgdesc="Monads for free"
 url="http://github.com/ekmett/free/"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-bifunctors" "haskell-comonad" "haskell-distributive"
-         "haskell-exceptions" "haskell-mtl" "haskell-prelude-extras"
-         "haskell-profunctors" "haskell-semigroupoids" "haskell-semigroups"
-         "haskell-transformers-compat")
+depends=("ghc" "haskell-bifunctors" "haskell-comonad" "haskell-distributive" "haskell-exceptions"
+         "haskell-mtl" "haskell-prelude-extras" "haskell-profunctors" "haskell-semigroupoids"
+         "haskell-semigroups" "haskell-transformers-compat")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('c9fe45aae387855626ecb5a0fea6afdb207143cb00af3b1f715d1032d2d08784')
 
@@ -20,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
@@ -41,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