dev-vcs/gitlab-workhorse:

added ebuild for gitlab-workhorse-1.4.1

Package-Manager: portage-2.3.3
This commit is contained in:
Manuel Friedli 2017-03-13 18:19:03 +01:00
parent daa080daf4
commit 151d3cc6d1
4 changed files with 61 additions and 1 deletions

View file

@ -0,0 +1,12 @@
diff --git a/Makefile b/Makefile
index 3f6ac91..663ffbb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-PREFIX=/usr/local
-VERSION=$(shell git describe)-$(shell date -u +%Y%m%d.%H%M%S)
+PREFIX=${DESTDIR}/usr
+VERSION=v1.4.1-$(shell date -u +%Y%m%d.%H%M%S)
BUILD_DIR = $(shell pwd)
export GOPATH=${BUILD_DIR}/_build
export GO15VENDOREXPERIMENT=1