Date: Thursday, June 15, 2017 @ 02:50:14 Author: felixonmars Revision: 236902
upgpkg: haskell-attoparsec 0.13.1.0-12 rebuild with ghc,8.0.2 Modified: haskell-attoparsec/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 02:47:44 UTC (rev 236901) +++ PKGBUILD 2017-06-15 02:50:14 UTC (rev 236902) @@ -5,12 +5,12 @@ _hkgname=attoparsec pkgname=haskell-attoparsec pkgver=0.13.1.0 -pkgrel=11 +pkgrel=12 pkgdesc="Fast combinator parsing for bytestrings and text" url="https://github.com/bos/attoparsec" license=("BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-scientific" "haskell-text") +depends=("ghc" "haskell-scientific" "haskell-text") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('52dc74d4955e457ce4f76f5c9d6dba05c1d07e2cd2a542d6251c6dbc66ce3f64') @@ -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-developer @@ -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 }