Date: Saturday, June 17, 2017 @ 02:45:26 Author: felixonmars Revision: 237846
upgpkg: haskell-cassava 0.4.5.1-14 rebuild with ghc,8.0.2 Modified: haskell-cassava/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-17 02:43:00 UTC (rev 237845) +++ PKGBUILD 2017-06-17 02:45:26 UTC (rev 237846) @@ -5,13 +5,13 @@ _hkgname=cassava pkgname=haskell-cassava pkgver=0.4.5.1 -pkgrel=13 +pkgrel=14 pkgdesc="A CSV parsing and encoding library" url="https://github.com/tibbe/cassava" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-attoparsec" "haskell-blaze-builder" "haskell-hashable" - "haskell-text" "haskell-unordered-containers" "haskell-vector") +depends=("ghc" "haskell-attoparsec" "haskell-blaze-builder" "haskell-hashable" "haskell-text" + "haskell-unordered-containers" "haskell-vector") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('7c622ae9dc647508662a1cda3fe3f6d7032786e4e3d15f8488de9e9330cf9d9f') @@ -22,7 +22,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 @@ -43,4 +43,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 }
