added ebuild for dev-vcs/gitlab-workhorse-0.7.1
This commit is contained in:
parent
a6d9845d9a
commit
16da46bebd
3 changed files with 52 additions and 0 deletions
12
dev-vcs/gitlab-workhorse/files/fix-Makefile-0.7.1.patch
Normal file
12
dev-vcs/gitlab-workhorse/files/fix-Makefile-0.7.1.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/Makefile b/Makefile
|
||||
index c81222f..1a90927 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=0.7.1-$(shell date -u +%Y%m%d.%H%M%S)
|
||||
GOBUILD=go build -ldflags "-X main.Version=${VERSION}"
|
||||
|
||||
all: gitlab-zip-cat gitlab-zip-metadata gitlab-workhorse
|
Loading…
Add table
Add a link
Reference in a new issue