1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

testing/raku-cbor-simple: new aport

https://github.com/japhb/CBOR-Simple
Simple codec for the CBOR serialization format
This commit is contained in:
Celeste 2025-06-07 06:26:05 +00:00
parent bd3f1e539f
commit 7a7b9d07f8

View file

@ -0,0 +1,38 @@
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=raku-cbor-simple
pkgver=0.1.4
pkgrel=0
pkgdesc="Simple codec for the CBOR serialization format"
url="https://github.com/japhb/CBOR-Simple"
arch="all"
license="Artistic-2.0"
depends="rakudo raku-tinyfloats"
makedepends="moarvm-dev rakudo-dev"
checkdepends="perl-utils"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/japhb/CBOR-Simple/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/CBOR-Simple-$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="
81989e8593da655e4f64be8ce3fbded38262e20d968eb74d225f1d2739896fcc1012ea966fe0548aaf9ee1d86e8b302136ebd4013c2ec15716b743791711fa6e raku-cbor-simple-0.1.4.tar.gz
"