pantry/projects/direnv.net/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

19 lines
337 B
YAML

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
script: |
make install PREFIX="{{ prefix }}"
test:
test "$(direnv --version)" = "{{ version }}"