Date: Friday, June 16, 2017 @ 10:21:57 Author: felixonmars Revision: 237615
upgpkg: haskell-path-io 1.3.0-4 rebuild with ghc,8.0.2 Modified: haskell-path-io/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 10:20:05 UTC (rev 237614) +++ PKGBUILD 2017-06-16 10:21:57 UTC (rev 237615) @@ -3,21 +3,21 @@ # Contributor: Daniel Nagy <danielnagy at gmx de> # Contributor: Daniel Micay <[email protected]> +_hkgname=path-io pkgname=haskell-path-io -_hkgname=path-io pkgver=1.3.0 -pkgrel=3 +pkgrel=4 pkgdesc="Interface to ‘directory’ package for users of ‘path’" url="https://github.com/mrkkrp/path-io" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" 'haskell-exceptions' 'haskell-path' 'haskell-temporary' 'haskell-unix-compat') +depends=("ghc" 'haskell-exceptions' 'haskell-path' 'haskell-temporary' 'haskell-unix-compat') source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz") sha512sums=('2326335e3d2ccf7b532109d0260b123783e56a3574c6996709a92a81b0e8c049d945c243937d3f7c8b2fb90f54c663dd33d09587af9c86faa8308760ea083615') 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-dev @@ -39,4 +39,7 @@ runhaskell Setup copy --destdir="$pkgdir" install -D -m644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md" rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE.md" + + # Remove static libs + find "$pkgdir"/usr/lib -name "*.a" -delete }
