www-apps/gostatic: phew
Signed-off-by: Shin'ya Minazuki <shinyoukai@chaotic.ninja>
This commit is contained in:
parent
1ee3b8672d
commit
1cc30528c9
2 changed files with 8 additions and 0 deletions
|
|
@ -12,6 +12,10 @@ LICENSE="ISC"
|
|||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
go-module_live_vendor
|
||||
}
|
||||
src_compile() {
|
||||
export CGO_ENABLED="0"
|
||||
ego build -ldflags "-s -w" -o "${PN}"
|
||||
|
|
|
|||
|
|
@ -11,6 +11,10 @@ LICENSE="ISC"
|
|||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
go-module_live_vendor
|
||||
}
|
||||
src_compile() {
|
||||
export CGO_ENABLED="0"
|
||||
ego build -ldflags "-s -w" -o "${PN}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue