Date: Friday, June 16, 2017 @ 08:11:04 Author: felixonmars Revision: 237537
upgpkg: haskell-wl-pprint-extras 3.5.0.5-13 rebuild with ghc,8.0.2 Modified: haskell-wl-pprint-extras/trunk/PKGBUILD ----------+ PKGBUILD | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 08:09:16 UTC (rev 237536) +++ PKGBUILD 2017-06-16 08:11:04 UTC (rev 237537) @@ -4,13 +4,12 @@ _hkgname=wl-pprint-extras pkgname=haskell-wl-pprint-extras pkgver=3.5.0.5 -pkgrel=12 +pkgrel=13 pkgdesc="A free monad based on the Wadler/Leijen pretty printer" url="http://github.com/ekmett/wl-pprint-extras/" license=('custom:BSD3') arch=('i686' 'x86_64') -depends=('ghc=8.0.1' 'haskell-semigroups' 'haskell-semigroupoids' 'haskell-utf8-string' - 'haskell-text') +depends=('ghc' 'haskell-semigroups' 'haskell-semigroupoids' 'haskell-utf8-string' 'haskell-text') source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) md5sums=('03a7c3b6700f5c729229c7652a0e85cd') @@ -21,7 +20,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 @@ -42,4 +41,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 }
