mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 20:46:39 +02:00
39 lines
1 KiB
Text
39 lines
1 KiB
Text
maintainer="Hoang Nguyen <folliekazetani@protonmail.com>"
|
|
pkgname=crun-vm
|
|
pkgver=0.3.0
|
|
pkgrel=0
|
|
pkgdesc="OCI runtime to run QEMU-compatible virtual machines"
|
|
url="https://github.com/containers/crun-vm"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
options="!check" # integration tests only run on x86_64, no unit tests
|
|
makedepends="
|
|
cargo
|
|
cargo-auditable
|
|
ronn
|
|
libselinux-dev
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/containers/crun-vm/archive/refs/tags/$pkgver.tar.gz"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cargo fetch --target="$CTARGET" --locked
|
|
}
|
|
|
|
build() {
|
|
cargo auditable build --frozen --release
|
|
ronn --pipe --roff docs/5-crun-vm.1.ronn > crun-vm.1
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 target/release/crun-vm -t "$pkgdir"/usr/bin/
|
|
|
|
install -Dm644 crun-vm.1 -t "$pkgdir"/usr/share/man/man1/
|
|
install -Dm644 docs/*.md -t "$pkgdir"/usr/share/doc/crun-vm/
|
|
}
|
|
|
|
sha512sums="
|
|
6d1949f6062901c87e524d0fa553c1d4e87bb87821c8f52567773f150b58c14c372cbfc19bdaf9ff59e2970af65df614e17f9f5d4b78d409a945032f88ee2ae6 crun-vm-0.3.0.tar.gz
|
|
"
|