mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-12 21:00:57 +00:00
- For some reason, the release archive URL does not work anymore, but downloading the release tag using the git protocol does work. - However, for some reason the current release fails to build in termux-packages GitHub Actions with error ` ../../_cache/go1.25.0-r1/src/os/user/lookup.go:22:41: undefined: current`, but not locally, but the current master branch is not affected by that error, so bump to the newest commit.
21 lines
570 B
Diff
21 lines
570 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -1,7 +1,7 @@
|
|
-include environ.inc
|
|
.PHONY: help deps dev build install image release test clean clean-all
|
|
|
|
-export CGO_ENABLED=0
|
|
+export CGO_ENABLED=1
|
|
VERSION=$(shell git describe --abbrev=0 --tags 2>/dev/null || echo "$VERSION")
|
|
COMMIT=$(shell git rev-parse --short HEAD || echo "$COMMIT")
|
|
BRANCH=$(shell git rev-parse --abbrev-ref HEAD)
|
|
@@ -9,7 +9,7 @@ BUILD=$(shell git show -s --pretty=format:%cI)
|
|
GOCMD=go
|
|
GOCMD=go
|
|
|
|
-DESTDIR=/usr/local/bin
|
|
+DESTDIR=@TERMUX_PREFIX@/bin
|
|
|
|
ifeq ($(BRANCH), master)
|
|
IMAGE := prologic/saltyim
|