10 Commits

2 changed files with 10 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ BUGS_TO="hasufell@posteo.de"
src_compile() {
export GOPATH="${WORK}"/.gopath
export GOBIN="${WORK}"/.bin
export GH_VERSION="v${PV}"
unset LDFLAGS
esandbox disable_net
@@ -30,7 +31,7 @@ src_compile() {
emake manpages
edo go run ./cmd/gh completion -s bash > gh.bash-completion
edo go run ./cmd/gh completion -s zsh > gh.zsh-completion
edo go run ./cmd/gh completion -s zsh > _gh
esandbox enable_net
}
@@ -40,5 +41,12 @@ src_install() {
doman share/man/man?/gh*.?
dobashcompletion gh.bash-completion
dozshcompletion gh.zsh-completion
dozshcompletion _gh
}
src_test() {
esandbox disable_net
default
esandbox enable_net
}