mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
testing/raku-datetime-parse: new aport
https://github.com/sergot/datetime-parse DateTime parser
This commit is contained in:
parent
3d86dc529c
commit
8629a1284c
1 changed files with 41 additions and 0 deletions
41
testing/raku-datetime-parse/APKBUILD
Normal file
41
testing/raku-datetime-parse/APKBUILD
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||||
|
maintainer="Celeste <cielesti@protonmail.com>"
|
||||||
|
pkgname=raku-datetime-parse
|
||||||
|
pkgver=0.9.3
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="DateTime parser"
|
||||||
|
url="https://github.com/sergot/datetime-parse"
|
||||||
|
arch="all"
|
||||||
|
license="MIT"
|
||||||
|
depends="rakudo"
|
||||||
|
makedepends="moarvm-dev rakudo-dev"
|
||||||
|
checkdepends="perl-utils"
|
||||||
|
subpackages="$pkgname-doc"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://github.com/sergot/datetime-parse/archive/refs/tags/$pkgver.tar.gz"
|
||||||
|
builddir="$srcdir/datetime-parse-$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/
|
||||||
|
|
||||||
|
install -Dvm644 LICENSE \
|
||||||
|
-t "$pkgdir"/usr/share/licenses/$pkgname/
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
8235eb2a00c859e89981d17fded79b4a1c73e5b78b48fddb2fbcd549616fc2834f5946fb972827c87819e9486060ca3915bdb8f2ae7380887a23346362d94a73 raku-datetime-parse-0.9.3.tar.gz
|
||||||
|
"
|
Loading…
Add table
Add a link
Reference in a new issue