+github.com/chainguard-dev/apko (#4853)

* +apko

* rename apko to github.com/chainguard-dev/apko

* add explicit git-scm build dependency

* cleanup
This commit is contained in:
tannevaled 2024-01-16 16:30:13 +01:00 committed by GitHub
parent 79a541ce2a
commit 427a74551c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}}