Date: Sunday, June 18, 2017 @ 12:12:42 Author: felixonmars Revision: 238056
upgpkg: haskell-lens-aeson 1.0.1-10 rebuild with ghc,8.0.2 Modified: haskell-lens-aeson/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-18 12:10:52 UTC (rev 238055) +++ PKGBUILD 2017-06-18 12:12:42 UTC (rev 238056) @@ -4,12 +4,12 @@ _hkgname=lens-aeson pkgname=haskell-lens-aeson pkgver=1.0.1 -pkgrel=9 +pkgrel=10 pkgdesc="Law-abiding lenses for aeson" url="http://github.com/lens/lens-aeson/" license=('MIT') arch=('i686' 'x86_64') -depends=('ghc=8.0.1' 'haskell-aeson' 'haskell-attoparsec' 'haskell-lens' 'haskell-scientific' +depends=('ghc' 'haskell-aeson' 'haskell-attoparsec' 'haskell-lens' 'haskell-scientific' 'haskell-text' 'haskell-unordered-containers' 'haskell-vector') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha512sums=('547a418919882f1062bccd9653cf85289d805cf0100f50f78d04d3e46abdd2b15d904ff1c4ac0b5668096efa4e047dd87978280dd84061f2c1bff11babd64b59') @@ -17,7 +17,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-test-doctests @@ -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 }
