mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+overmind (#4887)
* +overmind adds the overmind package * fix(overmind): adjust ldflags to fix linux build * fix(overmind): oops - it should work on arm linux too * cleanup --------- Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
parent
45bd92deef
commit
e5faec6a91
1 changed files with 29 additions and 0 deletions
29
projects/github.com/darthsim/overmind/package.yml
Normal file
29
projects/github.com/darthsim/overmind/package.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
distributable:
|
||||
url: https://github.com/DarthSim/overmind/archive/refs/tags/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
display-name: overmind
|
||||
|
||||
versions:
|
||||
github: darthsim/overmind
|
||||
|
||||
dependencies:
|
||||
github.com/tmux/tmux: "*"
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
go.dev: ">=1.21"
|
||||
script: go build -v -ldflags="$LDFLAGS" -o "{{prefix}}"/bin/overmind
|
||||
env:
|
||||
CGO_ENABLED: 0
|
||||
LDFLAGS:
|
||||
- -s
|
||||
- -w
|
||||
linux:
|
||||
LDFLAGS:
|
||||
- -buildmode=pie
|
||||
|
||||
provides:
|
||||
- bin/overmind
|
||||
|
||||
test: test "$(overmind --version)" = "Overmind version {{version}}"
|
Loading…
Reference in a new issue