Date: Thursday, June 15, 2017 @ 03:21:37 Author: felixonmars Revision: 236924
upgpkg: haskell-aeson 1.1.2.0-6 rebuild with ghc,8.0.2 Modified: haskell-aeson/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 03:15:43 UTC (rev 236923) +++ PKGBUILD 2017-06-15 03:21:37 UTC (rev 236924) @@ -6,13 +6,13 @@ pkgname=haskell-aeson _hkgname=aeson pkgver=1.1.2.0 -pkgrel=5 +pkgrel=6 pkgdesc="A JSON parsing and encoding library optimized for ease of use and high performance." url="https://github.com/bos/aeson" license=("GPL") arch=('i686' 'x86_64') makedepends=('ghc') -depends=("ghc=8.0.1" 'haskell-attoparsec' 'haskell-base-compat' 'haskell-dlist' 'haskell-hashable' +depends=("ghc" 'haskell-attoparsec' 'haskell-base-compat' 'haskell-dlist' 'haskell-hashable' 'haskell-scientific' 'haskell-tagged' 'haskell-time-locale-compat' 'haskell-unordered-containers' 'haskell-uuid-types' 'haskell-vector') source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz") @@ -20,7 +20,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 \ -f-developer -f-fast -f-bytestring-builder -fcffi @@ -41,4 +41,7 @@ ln -s /usr/share/doc/$pkgname/html "$pkgdir/usr/share/doc/ghc/html/libraries/$_hkgname" runhaskell Setup copy --destdir="$pkgdir" rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE" + + # Remove static libs + find "$pkgdir"/usr/lib -name "*.a" -delete }