commit: 75a078fb05e04d1fc452e2b7715c7a9ac8cecffc
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 3 18:23:24 2016 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sun Apr 3 18:23:24 2016 +0000
URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=75a078fb
dev-go/gitlab-workhorse: Remove git call in Makefile
Package-Manager: portage-2.2.28
dev-go/gitlab-workhorse/gitlab-workhorse-0.7.1.ebuild | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/dev-go/gitlab-workhorse/gitlab-workhorse-0.7.1.ebuild
b/dev-go/gitlab-workhorse/gitlab-workhorse-0.7.1.ebuild
index ea4f49d..871bb2c 100644
--- a/dev-go/gitlab-workhorse/gitlab-workhorse-0.7.1.ebuild
+++ b/dev-go/gitlab-workhorse/gitlab-workhorse-0.7.1.ebuild
@@ -3,7 +3,7 @@
# $Id$
EAPI=5
-inherit golang-base golang-vcs-snapshot
+inherit golang-base vcs-snapshot
EGO_SRC=gitlab.com/gitlab-org/${PN}
EGO_PN=${EGO_SRC}/...
@@ -20,15 +20,11 @@ IUSE=""
RESTRICT="test"
-src_compile() {
- pushd src/$EGO_SRC || die
- emake
- popd
+src_prepare() {
+ sed -i -e 's/VERSION=.*/VERSION=${PV}/' Makefile || die
}
src_install() {
- pushd src/${EGO_SRC} || die
dodoc CHANGELOG README.md
emake install PREFIX="${D}"/usr
- popd
}