Date: Friday, June 16, 2017 @ 17:24:58 Author: felixonmars Revision: 237757
upgpkg: haskell-annotated-wl-pprint 0.7.0-3 rebuild with ghc,8.0.2 Modified: haskell-annotated-wl-pprint/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 17:23:47 UTC (rev 237756) +++ PKGBUILD 2017-06-16 17:24:58 UTC (rev 237757) @@ -5,12 +5,12 @@ _hkgname=annotated-wl-pprint pkgname=haskell-annotated-wl-pprint pkgver=0.7.0 -pkgrel=2 +pkgrel=3 pkgdesc="The Wadler/Leijen Pretty Printer, with annotation support" url="https://github.com/david-christiansen/annotated-wl-pprint" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1") +depends=("ghc") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('0c262d7fe13a9a50216438ec882c13e25f31236b886a5692e3c35b85cd773d18') @@ -17,7 +17,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 @@ -38,4 +38,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 }
