mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/raku-json-marshal: new aport
https://github.com/jonathanstowe/JSON-Marshal Simple serialization of Objects into JSON
This commit is contained in:
parent
5218cb2610
commit
c3a579e2b8
1 changed files with 43 additions and 0 deletions
43
testing/raku-json-marshal/APKBUILD
Normal file
43
testing/raku-json-marshal/APKBUILD
Normal file
|
@ -0,0 +1,43 @@
|
|||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
maintainer="Celeste <cielesti@protonmail.com>"
|
||||
pkgname=raku-json-marshal
|
||||
pkgver=0.0.25
|
||||
pkgrel=0
|
||||
pkgdesc="Simple serialization of Objects into JSON"
|
||||
url="https://github.com/jonathanstowe/JSON-Marshal"
|
||||
arch="all"
|
||||
license="Artistic-2.0"
|
||||
depends="
|
||||
rakudo
|
||||
raku-json-fast
|
||||
raku-json-name
|
||||
raku-json-optin
|
||||
"
|
||||
makedepends="moarvm-dev rakudo-dev"
|
||||
checkdepends="perl-utils"
|
||||
subpackages="$pkgname-doc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/jonathanstowe/JSON-Marshal/archive/refs/tags/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/JSON-Marshal-$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'
|
||||
}
|
||||
|
||||
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="
|
||||
1afc42c88a5623fb7af797c4170074ec51e7655896cedd8123c3eb012c561d61002a244838b2a0e3b2ca4af507a95fd2f33ad544e3248aa22beaaa91c6ff945a raku-json-marshal-0.0.25.tar.gz
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue