community/haskell-cryptonite to 0.24-6

This commit is contained in:
Kevin Mihelich 2017-09-22 12:32:07 +00:00
parent 605ff0282b
commit 07c442f101

View file

@ -8,7 +8,7 @@
_hkgname=cryptonite
pkgname=haskell-cryptonite
pkgver=0.24
pkgrel=5
pkgrel=6
pkgdesc="Cryptography Primitives sink"
url="https://github.com/vincenthz/cryptonite"
license=("custom:BSD3")
@ -21,7 +21,7 @@ sha512sums=('f6a7379f8d2f398dcd8e6c27092158a51363a3d70ed28a22b1a4ba64ece55c700cc
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 \
-fsupport_deepseq -finteger-gmp -f-support_pclmuldq -fsupport_rdrand \
@ -41,7 +41,4 @@ package() {
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
}