mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +00:00
community/haskell-cryptonite to 0.24-6
This commit is contained in:
parent
605ff0282b
commit
07c442f101
1 changed files with 2 additions and 5 deletions
|
@ -8,7 +8,7 @@
|
||||||
_hkgname=cryptonite
|
_hkgname=cryptonite
|
||||||
pkgname=haskell-cryptonite
|
pkgname=haskell-cryptonite
|
||||||
pkgver=0.24
|
pkgver=0.24
|
||||||
pkgrel=5
|
pkgrel=6
|
||||||
pkgdesc="Cryptography Primitives sink"
|
pkgdesc="Cryptography Primitives sink"
|
||||||
url="https://github.com/vincenthz/cryptonite"
|
url="https://github.com/vincenthz/cryptonite"
|
||||||
license=("custom:BSD3")
|
license=("custom:BSD3")
|
||||||
|
@ -21,7 +21,7 @@ sha512sums=('f6a7379f8d2f398dcd8e6c27092158a51363a3d70ed28a22b1a4ba64ece55c700cc
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${_hkgname}-${pkgver}"
|
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}" \
|
--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
|
||||||
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
|
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
|
||||||
-fsupport_deepseq -finteger-gmp -f-support_pclmuldq -fsupport_rdrand \
|
-fsupport_deepseq -finteger-gmp -f-support_pclmuldq -fsupport_rdrand \
|
||||||
|
@ -41,7 +41,4 @@ package() {
|
||||||
runhaskell Setup copy --destdir="${pkgdir}"
|
runhaskell Setup copy --destdir="${pkgdir}"
|
||||||
install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
|
rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
|
||||||
|
|
||||||
# Remove static libs
|
|
||||||
find "$pkgdir"/usr/lib -name "*.a" -delete
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue