mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/raku-docker-file: new aport
https://github.com/raku-community-modules/Docker-File Parsing and generation of Dockerfiles
This commit is contained in:
parent
9ef8db948e
commit
6435357ef9
1 changed files with 38 additions and 0 deletions
38
testing/raku-docker-file/APKBUILD
Normal file
38
testing/raku-docker-file/APKBUILD
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
maintainer="Celeste <cielesti@protonmail.com>"
|
||||
pkgname=raku-docker-file
|
||||
pkgver=1.1
|
||||
pkgrel=0
|
||||
pkgdesc="Parsing and generation of Dockerfiles"
|
||||
url="https://github.com/raku-community-modules/Docker-File"
|
||||
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/Docker-File/archive/refs/tags/$pkgver.tar.gz"
|
||||
builddir="$srcdir/Docker-File-$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="
|
||||
895bdd61d72898b6a47fc7949aa561c7b852e1dd1e105b3eabbdb41c5c10008336d25430e4a080087dd08371061514f08e1dbccdc9a8358169eed807a92b2b77 raku-docker-file-1.1.tar.gz
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue