From 427a74551cfa21b05a537fa7b6e7109b76e17ce3 Mon Sep 17 00:00:00 2001 From: tannevaled Date: Tue, 16 Jan 2024 16:30:13 +0100 Subject: [PATCH] +github.com/chainguard-dev/apko (#4853) * +apko * rename apko to github.com/chainguard-dev/apko * add explicit git-scm build dependency * cleanup --- .../chainguard-dev/apko/package.yml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 projects/github.com/chainguard-dev/apko/package.yml diff --git a/projects/github.com/chainguard-dev/apko/package.yml b/projects/github.com/chainguard-dev/apko/package.yml new file mode 100644 index 00000000..71f26c37 --- /dev/null +++ b/projects/github.com/chainguard-dev/apko/package.yml @@ -0,0 +1,26 @@ +isplay-name: chainguard-dev/apko +distributable: + url: git+https://github.com/chainguard-dev/apko + ref: v{{version}} + +versions: + github: chainguard-dev/apko + strip: + - /^v/ + +build: + dependencies: + git-scm.org: '*' + go.dev: '^1.21' + cmake.org: '^3' + env: + DESTDIR: "{{ prefix }}/" + BINDIR: "bin" + script: + - make apko + - make install + +provides: + - bin/apko + +test: test "$(apko version|grep GitVersion|cut -d'v' -f2)" = {{version}}