Date: Sunday, June 18, 2017 @ 03:20:15 Author: felixonmars Revision: 238011
upgpkg: haskell-pcre-light 0.4.0.4-3 rebuild with ghc,8.0.2 Modified: haskell-pcre-light/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-18 03:18:42 UTC (rev 238010) +++ PKGBUILD 2017-06-18 03:20:15 UTC (rev 238011) @@ -5,12 +5,12 @@ _hkgname=pcre-light pkgname=haskell-pcre-light pkgver=0.4.0.4 -pkgrel=2 +pkgrel=3 pkgdesc="Portable regex library for Perl 5 compatible regular expressions" url="https://github.com/Daniel-Diaz/pcre-light" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" 'pcre') +depends=("ghc" 'pcre') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('02c97e39263d18fd26aa63d52c88c4bfbb5c3f66ab40564552e7f11d5d889e75') @@ -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 \ -f-old_base @@ -39,4 +39,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 }
