Date: Friday, June 16, 2017 @ 16:10:04 Author: felixonmars Revision: 237723
upgpkg: haskell-hpack 0.17.1-3 rebuild with ghc,8.0.2 Modified: haskell-hpack/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 16:07:20 UTC (rev 237722) +++ PKGBUILD 2017-06-16 16:10:04 UTC (rev 237723) @@ -6,13 +6,13 @@ pkgname=haskell-hpack _hkgname=hpack pkgver=0.17.1 -pkgrel=2 +pkgrel=3 pkgdesc="An alternative format for Haskell packages" url="https://github.com/sol/hpack#readme" license=("MIT") arch=('i686' 'x86_64') makedepends=('ghc') -depends=("ghc=8.0.1" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 'haskell-text' +depends=("ghc" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 'haskell-text' 'haskell-unordered-containers' 'haskell-yaml') source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz") sha512sums=('59d3763d425797b7e99e12eb9bd9d905e3c3eec65eba50cd30c0a951c26d42a527d43f0fd1aa9724f309f4708f1a09aece00f8bc28874d8e802137c4a7276946') @@ -19,7 +19,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 @@ -40,4 +40,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 }
