pantry/projects/direnv.net/package.yml

20 lines
403 B
YAML
Raw Normal View History

2023-03-24 18:50:41 +03:00
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
2023-11-29 21:03:28 +03:00
script: make install PREFIX="{{ prefix }}" $EXTRA_ARGS
env:
linux:
EXTRA_ARGS: GO_LDFLAGS=-buildmode=pie
2023-03-24 18:50:41 +03:00
2023-11-29 21:03:28 +03:00
test: test "$(direnv --version)" = "{{ version }}"