Date: Thursday, June 15, 2017 @ 04:58:24 Author: felixonmars Revision: 237004
upgpkg: haskell-aeson-pretty 0.8.5-2 rebuild with ghc,8.0.2 Modified: haskell-aeson-pretty/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 04:56:55 UTC (rev 237003) +++ PKGBUILD 2017-06-15 04:58:24 UTC (rev 237004) @@ -5,12 +5,12 @@ _hkgname=aeson-pretty pkgname=haskell-aeson-pretty pkgver=0.8.5 -pkgrel=1 +pkgrel=2 pkgdesc="JSON pretty-printing library and command-line tool." url="http://github.com/informatikr/aeson-pretty" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-aeson" "haskell-attoparsec" "haskell-base-compat" "haskell-cmdargs" +depends=("ghc" "haskell-aeson" "haskell-attoparsec" "haskell-base-compat" "haskell-cmdargs" "haskell-scientific" "haskell-text" "haskell-unordered-containers" "haskell-vector") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha512sums=('b429dad73923f6a7a5892b511af19b766d639c21bab8a2b8d1750a1f972c4f55c5139f37773474d303597cd4d02f168515be7b537f33ea62987e77fd3d701e8a') @@ -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 \ -f-lib-only @@ -40,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 }
