diff --git a/projects/direnv.net/package.yml b/projects/direnv.net/package.yml new file mode 100644 index 00000000..e6b7c0d0 --- /dev/null +++ b/projects/direnv.net/package.yml @@ -0,0 +1,19 @@ +distributable: + url: https://github.com/direnv/direnv/archive/refs/tags/v{{version}}.tar.gz + strip-components: 1 + +versions: + github: direnv/direnv/releases/tags + +provides: + - bin/direnv + +build: + dependencies: + go.dev: ^1.18 + tea.xyz/gx/make: '*' + script: | + make install PREFIX="{{ prefix }}" + +test: + test "$(direnv --version)" = "{{ version }}"