Date: Saturday, September 23, 2017 @ 15:22:21 Author: felixonmars Revision: 260012
upgpkg: haskell-monadrandom 0.5.1-5 Modified: haskell-monadrandom/trunk/PKGBUILD ----------+ PKGBUILD | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-09-23 15:22:02 UTC (rev 260011) +++ PKGBUILD 2017-09-23 15:22:21 UTC (rev 260012) @@ -5,7 +5,7 @@ _hkgname=MonadRandom pkgname=haskell-monadrandom pkgver=0.5.1 -pkgrel=4 +pkgrel=5 pkgdesc="Random-number generation monad." url="https://hackage.haskell.org/package/${_hkgname}" license=("custom") @@ -13,7 +13,7 @@ depends=('ghc-libs' "haskell-mtl" "haskell-primitive" "haskell-random" "haskell-transformers-compat") makedepends=('ghc') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha256sums=('9e3f0f92807285302036dc504066ae6d968c8b0b4c25d9360888f31fe1730d87') +sha512sums=('2653531795f07b5d4cd54fe6313858bfff0f1bafc50677b7be2922f466cb5fa370bfd3ca3cb1c7a187af617599b476b2b8c76a2de03821211e53ef3f39b473bf') prepare() { sed -i '/fail/d' ${_hkgname}-${pkgver}/${_hkgname}.cabal @@ -22,7 +22,7 @@ build() { cd "${srcdir}/${_hkgname}-${pkgver}" - runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \ + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid runhaskell Setup build @@ -40,7 +40,4 @@ 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 }