From 66fb2a6b3b85c76ce8595ab5a9042a6a06241a3a Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Fri, 23 Jun 2023 21:21:54 +0300 Subject: [PATCH] lima-vm.io (#2276) * github.com/lima-vm/lima * create {{prefix}} dir * rename --- projects/lima-vm.io/package.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 projects/lima-vm.io/package.yml diff --git a/projects/lima-vm.io/package.yml b/projects/lima-vm.io/package.yml new file mode 100644 index 00000000..7b4475e1 --- /dev/null +++ b/projects/lima-vm.io/package.yml @@ -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}}