Date: Thursday, June 15, 2017 @ 03:38:28 Author: felixonmars Revision: 236945
upgpkg: haskell-comonad 5.0.1-2 rebuild with ghc,8.0.2 Modified: haskell-comonad/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 03:38:15 UTC (rev 236944) +++ PKGBUILD 2017-06-15 03:38:28 UTC (rev 236945) @@ -5,12 +5,12 @@ _hkgname=comonad pkgname=haskell-comonad pkgver=5.0.1 -pkgrel=1 +pkgrel=2 pkgdesc="Comonads" url="http://github.com/ekmett/comonad/" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-contravariant" "haskell-distributive" "haskell-semigroups" +depends=("ghc" "haskell-contravariant" "haskell-distributive" "haskell-semigroups" "haskell-tagged" "haskell-transformers-compat") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha512sums=('20e90d8609b7236d0c74b2994bb0b3a629c99dbceac3476e27d91953bfec71720ab6a8e2d1415db27b675805ea7f6a61927a641807fa4b8d2db763a8c070082d') @@ -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 \ -fdistributive -fcontravariant -fcontainers -ftest-doctests @@ -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 }
