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

Felix Yan felixonmars at archlinux.org
Sun Jun 18 03:18:17 UTC 2017


    Date: Sunday, June 18, 2017 @ 03:18:16
  Author: felixonmars
Revision: 238009

upgpkg: haskell-edisoncore 1.3.1.1-7

rebuild with ghc,8.0.2

Modified:
  haskell-edisoncore/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-18 03:15:27 UTC (rev 238008)
+++ PKGBUILD	2017-06-18 03:18:16 UTC (rev 238009)
@@ -5,12 +5,12 @@
 _hkgname=EdisonCore
 pkgname=haskell-edisoncore
 pkgver=1.3.1.1
-pkgrel=6
+pkgrel=7
 pkgdesc="A library of efficient, purely-functional data structures (Core Implementations)"
 url="http://rwd.rdockins.name/edison/home/"
 license=("MIT")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-edisonapi" "haskell-mtl" "haskell-quickcheck")
+depends=("ghc" "haskell-edisonapi" "haskell-mtl" "haskell-quickcheck")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('3e0720ee3b179304f563b99dd446c1d6911e31ddc4d0f78d6550b18e59ed501b')
 
@@ -17,7 +17,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
@@ -38,4 +38,7 @@
     runhaskell Setup copy --destdir="${pkgdir}"
     install -D -m644 "COPYRIGHT" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
+
+    # Remove static libs
+    find "$pkgdir"/usr/lib -name "*.a" -delete
 }



More information about the arch-commits mailing list