mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
48ad65acfe
closes #4256
20 lines
403 B
YAML
20 lines
403 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 }}" $EXTRA_ARGS
|
|
env:
|
|
linux:
|
|
EXTRA_ARGS: GO_LDFLAGS=-buildmode=pie
|
|
|
|
test: test "$(direnv --version)" = "{{ version }}"
|