added ebuild for gitlab-workhorse-1.3.0

This commit is contained in:
Manuel Friedli 2017-02-13 17:31:26 +01:00
parent 5812fa38ab
commit 7c248c2dab
3 changed files with 54 additions and 0 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.3.0-$(shell date -u +%Y%m%d.%H%M%S)
BUILD_DIR = $(shell pwd)
export GOPATH=${BUILD_DIR}/_build
export GO15VENDOREXPERIMENT=1