Date: Thursday, June 15, 2017 @ 16:43:06 Author: felixonmars Revision: 237257
upgpkg: haskell-xml-conduit 1.4.0.4-20 rebuild with ghc,8.0.2 Modified: haskell-xml-conduit/trunk/PKGBUILD ----------+ PKGBUILD | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 16:42:58 UTC (rev 237256) +++ PKGBUILD 2017-06-15 16:43:06 UTC (rev 237257) @@ -5,15 +5,14 @@ _hkgname=xml-conduit pkgname=haskell-xml-conduit pkgver=1.4.0.4 -pkgrel=19 +pkgrel=20 pkgdesc="Pure-Haskell utilities for dealing with XML with the conduit package." url="http://github.com/snoyberg/xml" license=("MIT") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-attoparsec" "haskell-blaze-builder" "haskell-text" - "haskell-blaze-markup" "haskell-conduit" "haskell-conduit-extra" - "haskell-data-default" "haskell-monad-control" "haskell-resourcet" - "haskell-blaze-html" "haskell-xml-types") +depends=("ghc" "haskell-attoparsec" "haskell-blaze-builder" "haskell-text" "haskell-blaze-markup" + "haskell-conduit" "haskell-conduit-extra" "haskell-data-default" "haskell-monad-control" + "haskell-resourcet" "haskell-blaze-html" "haskell-xml-types") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('11058279d3f75a71b5731d26fc490f86fc1b7cc461053cd54aedde8f152d52fc') @@ -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 }
