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

Felix Yan felixonmars at archlinux.org
Fri Jun 16 17:30:46 UTC 2017


    Date: Friday, June 16, 2017 @ 17:30:46
  Author: felixonmars
Revision: 237763

upgpkg: haskell-concurrent-output 1.7.9-6

rebuild with ghc,8.0.2

Modified:
  haskell-concurrent-output/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-16 17:29:17 UTC (rev 237762)
+++ PKGBUILD	2017-06-16 17:30:46 UTC (rev 237763)
@@ -5,13 +5,13 @@
 _hkgname=concurrent-output
 pkgname=haskell-concurrent-output
 pkgver=1.7.9
-pkgrel=5
+pkgrel=6
 pkgdesc="Ungarble output from several threads or commands"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD2")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-ansi-terminal" "haskell-async" "haskell-exceptions"
-         "haskell-stm" "haskell-terminal-size" "haskell-text")
+depends=("ghc" "haskell-ansi-terminal" "haskell-async" "haskell-exceptions" "haskell-stm"
+         "haskell-terminal-size" "haskell-text")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('343c9685d24795bb38761f5c3600df5c67dbc6d410e5e0b862aa8d092e4e10d5')
 
@@ -18,7 +18,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
@@ -39,4 +39,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