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

Felix Yan felixonmars at archlinux.org
Thu Jun 15 20:35:18 UTC 2017


    Date: Thursday, June 15, 2017 @ 20:35:17
  Author: felixonmars
Revision: 237441

upgpkg: haskell-tagstream-conduit 0.5.5.3-78

rebuild with ghc,8.0.2

Modified:
  haskell-tagstream-conduit/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 20:33:14 UTC (rev 237440)
+++ PKGBUILD	2017-06-15 20:35:17 UTC (rev 237441)
@@ -5,15 +5,14 @@
 _hkgname=tagstream-conduit
 pkgname=haskell-tagstream-conduit
 pkgver=0.5.5.3
-pkgrel=77
+pkgrel=78
 pkgdesc="Streamlined html tag parser"
 url="http://github.com/yihuang/tagstream-conduit"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-attoparsec" "haskell-blaze-builder"
-         "haskell-case-insensitive" "haskell-conduit" "haskell-conduit-extra"
-         "haskell-data-default" "haskell-resourcet" "haskell-text"
-         "haskell-xml-conduit")
+depends=("ghc" "haskell-attoparsec" "haskell-blaze-builder" "haskell-case-insensitive"
+         "haskell-conduit" "haskell-conduit-extra" "haskell-data-default" "haskell-resourcet"
+         "haskell-text" "haskell-xml-conduit")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('b296e8f0ba18ae951b5bb3fc2d9d964954666df61ea9363d667f251af17134ab')
 
@@ -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