added ebuild for gitlab-workhorse-1.2.1

This commit is contained in:
Manuel Friedli 2017-01-10 22:51:01 +01:00
parent e4683c83b0
commit 985a32e41d
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.2.1-$(shell date -u +%Y%m%d.%H%M%S)
BUILD_DIR = $(shell pwd)
export GOPATH=${BUILD_DIR}/_build
export GO15VENDOREXPERIMENT=1