mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
testing/raku-digest-hmac: new aport
https://github.com/JJ/Raku-Digest-HMAC Generic HMAC implementation
This commit is contained in:
parent
ca3904650f
commit
c34a0148a2
1 changed files with 42 additions and 0 deletions
42
testing/raku-digest-hmac/APKBUILD
Normal file
42
testing/raku-digest-hmac/APKBUILD
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||||
|
maintainer="Celeste <cielesti@protonmail.com>"
|
||||||
|
pkgname=raku-digest-hmac
|
||||||
|
pkgver=1.0.6_git20231116
|
||||||
|
_gitrev=9bae022a49c14ab92a059d7a0d5aa95c4026c27f
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Generic HMAC implementation"
|
||||||
|
url="https://github.com/JJ/Raku-Digest-HMAC"
|
||||||
|
arch="all !s390x" # raku-digest
|
||||||
|
license="MIT"
|
||||||
|
depends="rakudo"
|
||||||
|
makedepends="moarvm-dev rakudo-dev"
|
||||||
|
checkdepends="perl-utils raku-digest"
|
||||||
|
subpackages="$pkgname-doc"
|
||||||
|
source="$pkgname-$_gitrev.tar.gz::https://github.com/JJ/Raku-Digest-HMAC/archive/$_gitrev.tar.gz"
|
||||||
|
builddir="$srcdir/Raku-Digest-HMAC-$_gitrev"
|
||||||
|
options="!archcheck" # Precompiled arch dependent files included (quiet noarch warning)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
RAKUDO_RERESOLVE_DEPENDENCIES=0 \
|
||||||
|
/usr/share/rakudo/tools/install-dist.raku \
|
||||||
|
--to=output --for=vendor
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
prove -e 'raku -Ilib'
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
mkdir -p "$pkgdir"/usr/share/rakudo
|
||||||
|
cp -RT output "$pkgdir"/usr/share/rakudo/vendor
|
||||||
|
|
||||||
|
install -Dvm644 META6.json README.md \
|
||||||
|
-t "$pkgdir"/usr/share/doc/$pkgname/
|
||||||
|
|
||||||
|
install -Dvm644 LICENSE \
|
||||||
|
-t "$pkgdir"/usr/share/licenses/$pkgname/
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
5fa601a02c88ced54644aef75fff04ea1efe15885c25e2b054ee60e68b8413b68b2b074961f69174e7742e938b9d288b2312c5f716561f97bd7617f6ca482080 raku-digest-hmac-9bae022a49c14ab92a059d7a0d5aa95c4026c27f.tar.gz
|
||||||
|
"
|
Loading…
Add table
Add a link
Reference in a new issue