termux-packages/packages/miniflux/Makefile.patch

13 lines
546 B
Diff
Raw Normal View History

2022-04-02 02:55:44 +02:00
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
APP := miniflux
DOCKER_IMAGE := miniflux/miniflux
-VERSION := $(shell git describe --tags --abbrev=0)
-COMMIT := $(shell git rev-parse --short HEAD)
+VERSION ?= $(shell git describe --tags --abbrev=0)
+COMMIT :=
BUILD_DATE := `date +%FT%T%z`
LD_FLAGS := "-s -w -X 'miniflux.app/version.Version=$(VERSION)' -X 'miniflux.app/version.Commit=$(COMMIT)' -X 'miniflux.app/version.BuildDate=$(BUILD_DATE)'"
PKG_LIST := $(shell go list ./... | grep -v /vendor/)