mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
testing/raku-io-path-childsecure: new aport
https://github.com/raku-community-modules/IO-Path-ChildSecure Secure version of IO::Path.child
This commit is contained in:
parent
9e763b9556
commit
5dda05884c
1 changed files with 38 additions and 0 deletions
38
testing/raku-io-path-childsecure/APKBUILD
Normal file
38
testing/raku-io-path-childsecure/APKBUILD
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
maintainer="Celeste <cielesti@protonmail.com>"
|
||||
pkgname=raku-io-path-childsecure
|
||||
pkgver=1.2
|
||||
pkgrel=0
|
||||
pkgdesc="Secure version of IO::Path.child"
|
||||
url="https://github.com/raku-community-modules/IO-Path-ChildSecure"
|
||||
arch="all"
|
||||
license="Artistic-2.0"
|
||||
depends="rakudo"
|
||||
makedepends="moarvm-dev rakudo-dev"
|
||||
checkdepends="perl-utils"
|
||||
subpackages="$pkgname-doc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/raku-community-modules/IO-Path-ChildSecure/archive/refs/tags/$pkgver.tar.gz"
|
||||
builddir="$srcdir/IO-Path-ChildSecure-$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="
|
||||
f2da73e467aa304442c8c1bbe60306da006f2a6ec6a045d113154cb3c4c79ecf319bf0293148f2aead3487447ebef694529704659b528f280786be8062ad5466 raku-io-path-childsecure-1.2.tar.gz
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue