mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 11:19:50 +03:00
42 lines
1.3 KiB
Text
42 lines
1.3 KiB
Text
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=raku-io-socket-ssl
|
|
pkgver=0.0.4
|
|
_gitrev=82efe38b167a0f072b5fda7e1b9d32f942f802cc
|
|
pkgrel=0
|
|
pkgdesc="Interface for SSL connections"
|
|
url="https://github.com/sergot/io-socket-ssl"
|
|
arch="all !armhf !armv7 !x86" # raku-openssl
|
|
license="MIT"
|
|
depends="rakudo raku-openssl"
|
|
makedepends="moarvm-dev rakudo-dev"
|
|
checkdepends="perl-utils"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$_gitrev.tar.gz::https://github.com/sergot/io-socket-ssl/archive/$_gitrev.tar.gz"
|
|
builddir="$srcdir/io-socket-ssl-$_gitrev"
|
|
options="net !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="
|
|
65c159030423b586cb4b116bc254562608910a9dc83320858950e82ce48245db3d131e39bf41e46401f8f715d458a7a592db3231c5263783c6d6ca76125fc27d raku-io-socket-ssl-82efe38b167a0f072b5fda7e1b9d32f942f802cc.tar.gz
|
|
"
|