lima-vm.io (#2276)

* github.com/lima-vm/lima

* create {{prefix}} dir

* rename
This commit is contained in:
Andrew 2023-06-23 21:21:54 +03:00 committed by GitHub
parent 3ad538f7b7
commit 66fb2a6b3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,29 @@
distributable:
url: https://github.com/lima-vm/lima/archive/v{{version}}.tar.gz
strip-components: 1
versions:
github: lima-vm/lima
platforms:
# https://github.com/teaxyz/pantry/blob/main/projects/qemu.org/package.yml only darwin
- darwin
dependencies:
qemu.org: '*'
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
go.dev: '*'
script:
- make VERSION={{version}} clean all
- mkdir -p {{prefix}}
- mv ./_output/* {{prefix}}/
provides:
- bin/limactl
test:
limactl --version | grep {{version}}