Date: Friday, June 16, 2017 @ 18:10:42 Author: felixonmars Revision: 237791
upgpkg: haskell-crypto-pubkey 0.2.8-21 rebuild with ghc,8.0.2 Modified: haskell-crypto-pubkey/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 18:09:19 UTC (rev 237790) +++ PKGBUILD 2017-06-16 18:10:42 UTC (rev 237791) @@ -5,12 +5,12 @@ _hkgname=crypto-pubkey pkgname=haskell-crypto-pubkey pkgver=0.2.8 -pkgrel=20 +pkgrel=21 pkgdesc="Public Key cryptography" url="https://github.com/vincenthz/hs-crypto-pubkey" license=('custom:BSD3') arch=('i686' 'x86_64') -depends=('ghc=8.0.1' 'haskell-byteable' 'haskell-crypto-numbers' 'haskell-crypto-pubkey-types' +depends=('ghc' 'haskell-byteable' 'haskell-crypto-numbers' 'haskell-crypto-pubkey-types' 'haskell-crypto-random' 'haskell-cryptohash') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") md5sums=('e98378fb6ad22aa50c5e1e4dd2c0900d') @@ -18,7 +18,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 @@ -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 }
