Date: Friday, June 16, 2017 @ 15:38:15 Author: felixonmars Revision: 237703
upgpkg: haskell-puremd5 2.1.3-2 rebuild with ghc,8.0.2 Modified: haskell-puremd5/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 15:36:53 UTC (rev 237702) +++ PKGBUILD 2017-06-16 15:38:15 UTC (rev 237703) @@ -5,12 +5,12 @@ _hkgname=pureMD5 pkgname=haskell-puremd5 pkgver=2.1.3 -pkgrel=1 +pkgrel=2 pkgdesc="A Haskell-only implementation of the MD5 digest (hash) algorithm" url="https://hackage.haskell.org/package/pureMD5" license=('custom:BSD3') arch=('i686' 'x86_64') -depends=('ghc=8.0.1' 'haskell-cereal' 'haskell-async' 'haskell-crypto-api' 'haskell-tagged') +depends=('ghc' 'haskell-cereal' 'haskell-async' 'haskell-crypto-api' 'haskell-tagged') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") md5sums=('450f112dabf7fdae0c23a666db9d4201') @@ -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 @@ -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 }
