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:
parent
bd3f1e539f
commit
7a7b9d07f8
1 changed files with 38 additions and 0 deletions
38
testing/raku-cbor-simple/APKBUILD
Normal file
38
testing/raku-cbor-simple/APKBUILD
Normal 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
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue