mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=raku-http-tiny
|
|
pkgver=0.2.6
|
|
pkgrel=0
|
|
pkgdesc="Small, simple, correct HTTP/1.1 client"
|
|
url="https://gitlab.com/jjatria/http-tiny"
|
|
arch="all"
|
|
license="Artistic-2.0"
|
|
depends="rakudo"
|
|
makedepends="moarvm-dev rakudo-dev"
|
|
checkdepends="perl-utils"
|
|
subpackages="$pkgname-doc"
|
|
source="https://gitlab.com/jjatria/http-tiny/-/archive/v$pkgver/http-tiny-v$pkgver.tar.gz"
|
|
builddir="$srcdir/http-tiny-v$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="
|
|
8277949dbfd34e21799e3da5734cdc440e8d489c2cbd21b21c84308c322a39c2508fe7f12c5d78dd73fb041fb8d9f22c107dece89bf38c8f09b3b65b2fa1273f http-tiny-v0.2.6.tar.gz
|
|
"
|