mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
Gokapi: revbump for go 1.21
This commit is contained in:
parent
10251154e1
commit
7b803a502e
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'Gokapi'
|
# Template file for 'Gokapi'
|
||||||
pkgname=Gokapi
|
pkgname=Gokapi
|
||||||
version=1.7.2
|
version=1.7.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=github.com/forceu/gokapi
|
go_import_path=github.com/forceu/gokapi
|
||||||
go_package="${go_import_path}/cmd/gokapi"
|
go_package="${go_import_path}/cmd/gokapi"
|
||||||
|
@ -16,7 +16,8 @@ _gokapi_homedir="/var/lib/gokapi"
|
||||||
make_dirs="/var/lib/gokapi 700 _gokapi _gokapi"
|
make_dirs="/var/lib/gokapi 700 _gokapi _gokapi"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
env -i GOPATH="${GOPATH}" GOCACHE="${GOCACHE}" go generate ./...
|
env -i GOPATH="${GOPATH}" GOCACHE="${GOCACHE}" GOPROXY="${GOPROXY}" \
|
||||||
|
go generate ./...
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue