Date: Friday, June 16, 2017 @ 08:55:41 Author: felixonmars Revision: 237559
upgpkg: haskell-cryptohash-conduit 0.1.1-86 rebuild with ghc,8.0.2 Modified: haskell-cryptohash-conduit/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 08:53:12 UTC (rev 237558) +++ PKGBUILD 2017-06-16 08:55:41 UTC (rev 237559) @@ -5,12 +5,12 @@ _hkgname=cryptohash-conduit pkgname=haskell-cryptohash-conduit pkgver=0.1.1 -pkgrel=85 +pkgrel=86 pkgdesc="cryptohash conduit" url="http://github.com/vincenthz/hs-cryptohash-conduit" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-conduit" "haskell-conduit-extra" "haskell-cryptohash" +depends=("ghc" "haskell-conduit" "haskell-conduit-extra" "haskell-cryptohash" "haskell-resourcet") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('ea516d898d3e34dae6be3e8bc59c9f61a61cb1222233dbfe84a84bb0ded4b4ce') @@ -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 }