Date: Thursday, June 15, 2017 @ 17:22:00 Author: felixonmars Revision: 237297
upgpkg: haskell-smallcheck 1.1.1-2 rebuild with ghc,8.0.2 Modified: haskell-smallcheck/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 17:20:37 UTC (rev 237296) +++ PKGBUILD 2017-06-15 17:22:00 UTC (rev 237297) @@ -4,19 +4,19 @@ _hkgname=smallcheck pkgname=haskell-smallcheck pkgver=1.1.1 -pkgrel=1 +pkgrel=2 pkgdesc="A property-based testing library" url="https://github.com/feuerbach/smallcheck" license=('custom:BSD3') arch=('i686' 'x86_64') -depends=('ghc=8.0.1' 'haskell-logict' 'haskell-mtl') -source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +depends=('ghc' 'haskell-logict' 'haskell-mtl') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) md5sums=('025955110b8831a8db1e5558e461bfc5') 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 @@ -37,4 +37,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 }
