summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen, Chih-Chia <pigfoot@gmail.com>2019-10-20 17:37:37 +0800
committerChen, Chih-Chia <pigfoot@gmail.com>2019-10-20 17:37:37 +0800
commitb02aff2cc91fcfe36d1f8a3bd7679c94ad8deda5 (patch)
tree0523342b28f7054c171621593830fdab8c691d7d
parentnet-misc/curlie] refine#6 (diff)
downloadpigfoot-b02aff2cc91fcfe36d1f8a3bd7679c94ad8deda5.tar.gz
pigfoot-b02aff2cc91fcfe36d1f8a3bd7679c94ad8deda5.tar.bz2
pigfoot-b02aff2cc91fcfe36d1f8a3bd7679c94ad8deda5.zip
[net-misc/curlie] refine#7
Signed-off-by: Chen, Chih-Chia <pigfoot@gmail.com>
-rw-r--r--net-misc/curlie/curlie-1.2.0.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/net-misc/curlie/curlie-1.2.0.ebuild b/net-misc/curlie/curlie-1.2.0.ebuild
index af5802e..a573a8c 100644
--- a/net-misc/curlie/curlie-1.2.0.ebuild
+++ b/net-misc/curlie/curlie-1.2.0.ebuild
@@ -29,13 +29,14 @@ src_compile() {
local build_flags="$( echo ${EGO_BUILD_FLAGS} ) $( echo ${build_pie} )"
set -- env GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
- GOCACHE="${T}/go-cache" \
- CGO_ENABLED=0 \
- go build -v -work -x ${build_flags} ${EGO_PN}
+ GOCACHE="${T}/go-cache" \
+ CGO_ENABLED=0 \
+ GO111MODULE=off \
+ go install -v -work -x ${build_flags} ${EGO_PN}
echo "$@"
"$@" || die
}
src_install() {
- dobin ${PN}
+ dobin bin/*
}