mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
testing/raku-cro-webapp: new aport
https://github.com/croservices/cro-webapp Build server-side web applications using Cro
This commit is contained in:
parent
b6ba849dd9
commit
9ef8db948e
1 changed files with 43 additions and 0 deletions
43
testing/raku-cro-webapp/APKBUILD
Normal file
43
testing/raku-cro-webapp/APKBUILD
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||||
|
maintainer="Celeste <cielesti@protonmail.com>"
|
||||||
|
pkgname=raku-cro-webapp
|
||||||
|
pkgver=0.10.0
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Build server-side web applications using Cro"
|
||||||
|
url="https://github.com/croservices/cro-webapp"
|
||||||
|
arch="all !armhf !armv7 !x86 !s390x" # raku-cro-http
|
||||||
|
license="Artistic-2.0"
|
||||||
|
depends="
|
||||||
|
rakudo
|
||||||
|
raku-cro-http
|
||||||
|
raku-log-timeline
|
||||||
|
raku-oo-monitors
|
||||||
|
"
|
||||||
|
makedepends="moarvm-dev rakudo-dev"
|
||||||
|
checkdepends="perl-utils"
|
||||||
|
subpackages="$pkgname-doc"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://github.com/croservices/cro-webapp/archive/refs/tags/release-$pkgver.tar.gz"
|
||||||
|
builddir="$srcdir/cro-webapp-release-$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="
|
||||||
|
19689c6bae552dbbc0b331c5becf1de25a29c2179b9b65e3c49a3969ab157783636160909efe99dec4b6f39f491e609f04e50bff5154a71317f78a8923c33fb5 raku-cro-webapp-0.10.0.tar.gz
|
||||||
|
"
|
Loading…
Add table
Add a link
Reference in a new issue