community/haskell-cryptonite to 0.26-30

This commit is contained in:
Kevin Mihelich 2020-02-26 19:06:09 +00:00
parent df2e9bc89d
commit 732578bfa2

View file

@ -9,7 +9,7 @@ buildarch=4
_hkgname=cryptonite
pkgname=haskell-cryptonite
pkgver=0.26
pkgrel=29
pkgrel=30
pkgdesc="Cryptography Primitives sink"
url="https://github.com/vincenthz/cryptonite"
license=("BSD")
@ -40,6 +40,6 @@ package() {
install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
runhaskell Setup copy --destdir="$pkgdir"
install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
}