Date: Thursday, June 15, 2017 @ 18:59:03 Author: felixonmars Revision: 237361
upgpkg: haskell-bytestring-strict-builder 0.4.5-3 rebuild with ghc,8.0.2 Modified: haskell-bytestring-strict-builder/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 18:57:49 UTC (rev 237360) +++ PKGBUILD 2017-06-15 18:59:03 UTC (rev 237361) @@ -4,12 +4,12 @@ _hkgname=bytestring-strict-builder pkgname=haskell-bytestring-strict-builder pkgver=0.4.5 -pkgrel=2 +pkgrel=3 pkgdesc="An efficient strict bytestring builder" url="https://github.com/nikita-volkov/bytestring-strict-builder" license=('MIT') arch=('i686' 'x86_64') -depends=('ghc=8.0.1' 'haskell-base-prelude' 'haskell-semigroups') +depends=('ghc' 'haskell-base-prelude' 'haskell-semigroups') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha512sums=('b1e0a551abf663daeaf71cb36e883e5b3db0a5112d7190d0743a5ed26aa334d3fede5be8c35dc2821d24d1fd88eae1de7e4983cc31bdc5c14960defc0ce47bcd') @@ -16,7 +16,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 @@ -37,4 +37,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 }
