Files
termux-packages/packages/salty-chat/makefile.patch
termux-pacman-bot 6de40121ac bump(main/salty-chat): 0.0.22-p20251006
- 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.
2025-10-08 22:37:22 +00:00

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