Date: Friday, June 16, 2017 @ 08:19:31 Author: felixonmars Revision: 237545
upgpkg: haskell-reducers 3.12.1-32 rebuild with ghc,8.0.2 Modified: haskell-reducers/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 08:17:53 UTC (rev 237544) +++ PKGBUILD 2017-06-16 08:19:31 UTC (rev 237545) @@ -5,13 +5,13 @@ _hkgname=reducers pkgname=haskell-reducers pkgver=3.12.1 -pkgrel=31 +pkgrel=32 pkgdesc="Semigroups, specialized containers and a general map/reduce framework" url="http://github.com/ekmett/reducers/" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-fingertree" "haskell-hashable" "haskell-semigroupoids" - "haskell-semigroups" "haskell-text" "haskell-unordered-containers") +depends=("ghc" "haskell-fingertree" "haskell-hashable" "haskell-semigroupoids" "haskell-semigroups" + "haskell-text" "haskell-unordered-containers") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('e43bb7678272691a358c049daecbac715c4b0fcece021c6b2ac7b2a1c16b6d5e') @@ -22,7 +22,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 @@ -43,4 +43,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 }
