mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/raku-base64: new aport
https://github.com/ugexe/Raku-Base64 Lazy base64 encoding and decoding routines
This commit is contained in:
parent
0c1f8e7b80
commit
9010443812
1 changed files with 38 additions and 0 deletions
38
testing/raku-base64/APKBUILD
Normal file
38
testing/raku-base64/APKBUILD
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
maintainer="Celeste <cielesti@protonmail.com>"
|
||||
pkgname=raku-base64
|
||||
pkgver=0.1.0
|
||||
pkgrel=0
|
||||
pkgdesc="Lazy base64 encoding and decoding routines"
|
||||
url="https://github.com/ugexe/Raku-Base64"
|
||||
arch="all"
|
||||
license="Artistic-2.0"
|
||||
depends="rakudo"
|
||||
makedepends="moarvm-dev rakudo-dev"
|
||||
checkdepends="perl-utils"
|
||||
subpackages="$pkgname-doc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/ugexe/Raku-Base64/archive/refs/tags/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/Raku-Base64-$pkgver"
|
||||
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' --ext .rakutest
|
||||
}
|
||||
|
||||
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/
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
38373f0d8760c1378a0270cdc75e55aa15db6631794350b63daa6836b7b00640a30472f7d7a75bd65cc9ad571543c875bc5e5e7adf6ede743f8f219bdc383340 raku-base64-0.1.0.tar.gz
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue