Date: Thursday, June 15, 2017 @ 16:13:24 Author: felixonmars Revision: 237218
upgpkg: haskell-cryptohash-md5 0.11.100.1-2 rebuild with ghc,8.0.2 Modified: haskell-cryptohash-md5/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 16:12:11 UTC (rev 237217) +++ PKGBUILD 2017-06-15 16:13:24 UTC (rev 237218) @@ -4,12 +4,12 @@ _hkgname=cryptohash-md5 pkgname=haskell-cryptohash-md5 pkgver=0.11.100.1 -pkgrel=1 +pkgrel=2 pkgdesc="Fast, pure and practical MD5 implementation" url="https://github.com/hvr/cryptohash-md5" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1") +depends=("ghc") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('710bd48770fa3e9a3b05428c6dc77fb72c91956d334a1eb89ded11bb843e18f9') @@ -16,7 +16,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 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 }