Date: Friday, June 16, 2017 @ 09:11:12 Author: felixonmars Revision: 237567
upgpkg: haskell-mono-traversable 1.0.2-7 rebuild with ghc,8.0.2 Modified: haskell-mono-traversable/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 09:08:24 UTC (rev 237566) +++ PKGBUILD 2017-06-16 09:11:12 UTC (rev 237567) @@ -5,13 +5,13 @@ _hkgname=mono-traversable pkgname=haskell-mono-traversable pkgver=1.0.2 -pkgrel=6 +pkgrel=7 pkgdesc="Type classes for mapping, folding, and traversing monomorphic containers" url="https://github.com/snoyberg/mono-traversable" license=("MIT") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-hashable" "haskell-split" "haskell-text" - "haskell-unordered-containers" "haskell-vector" "haskell-vector-algorithms") +depends=("ghc" "haskell-hashable" "haskell-split" "haskell-text" "haskell-unordered-containers" + "haskell-vector" "haskell-vector-algorithms") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('aa110a1f08b726f2e0d17858e09bd76e13d60ccf2bf5366c92c15999da0b3633') @@ -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 }
