Date: Thursday, June 15, 2017 @ 06:30:14 Author: felixonmars Revision: 237085
upgpkg: haskell-parsers 0.12.5-4 rebuild with ghc,8.0.2 Modified: haskell-parsers/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 06:27:55 UTC (rev 237084) +++ PKGBUILD 2017-06-15 06:30:14 UTC (rev 237085) @@ -5,12 +5,12 @@ _hkgname=parsers pkgname=haskell-parsers pkgver=0.12.5 -pkgrel=3 +pkgrel=4 pkgdesc="Parsing combinators" url="http://github.com/ekmett/parsers/" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-attoparsec" "haskell-base-orphans" "haskell-charset" "haskell-mtl" +depends=("ghc" "haskell-attoparsec" "haskell-base-orphans" "haskell-charset" "haskell-mtl" "haskell-parsec" "haskell-scientific" "haskell-text" "haskell-unordered-containers") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha512sums=('adef207e1ca9ab77683e256e6c91fd5ac36332055b0c96b49ea831ef749e255f7cefeddb9ef4f924b6d7245bb7355a87a14057ae7f5e86866e3ef9571381f16a') @@ -18,7 +18,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 @@ -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 }
