mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/raku-tinyfloats: new aport
https://github.com/japhb/TinyFloats Convert to/from tiny float formats
This commit is contained in:
parent
cef2291c25
commit
bd3f1e539f
1 changed files with 39 additions and 0 deletions
39
testing/raku-tinyfloats/APKBUILD
Normal file
39
testing/raku-tinyfloats/APKBUILD
Normal file
|
@ -0,0 +1,39 @@
|
|||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
maintainer="Celeste <cielesti@protonmail.com>"
|
||||
pkgname=raku-tinyfloats
|
||||
pkgver=0.0.5
|
||||
_gitrev=ee901975aca54e2bbf3af01c1f85e2b307ad2a55
|
||||
pkgrel=0
|
||||
pkgdesc="Convert to/from tiny float formats"
|
||||
url="https://github.com/japhb/TinyFloats"
|
||||
arch="all"
|
||||
license="Artistic-2.0"
|
||||
depends="rakudo"
|
||||
makedepends="moarvm-dev rakudo-dev"
|
||||
checkdepends="perl-utils"
|
||||
subpackages="$pkgname-doc"
|
||||
source="$pkgname-$_gitrev.tar.gz::https://github.com/japhb/TinyFloats/archive/$_gitrev.tar.gz"
|
||||
builddir="$srcdir/TinyFloats-$_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' --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="
|
||||
8cd244ae7eef76a2d220ec1613387759de96a84476d9996dd1bc65b86f74c7557c261a94775018b5b264f9dce42f2985408e5e29203698b4a4c61dc0812ba47a raku-tinyfloats-ee901975aca54e2bbf3af01c1f85e2b307ad2a55.tar.gz
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue