0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-02-07 20:10:04 +00:00
Biswapriyo Nath 4b733a1621 fix(main/salty-chat): Enable CGO, fix version
Remove git describe command in Makefile to prevent the following error and fix version.
fatal: not a git repository (or any of the parent directories): .git
2024-07-29 15:04:48 +00:00

18 lines
562 B
Bash

TERMUX_PKG_HOMEPAGE=https://salty.im/
TERMUX_PKG_DESCRIPTION="A secure, easy, self-hosted messaging"
TERMUX_PKG_LICENSE="MIT, WTFPL"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.0.22
TERMUX_PKG_REVISION=4
TERMUX_PKG_SRCURL=https://git.mills.io/saltyim/saltyim/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=fdc4dd8c0547f87f3c04022eb4558420eb07b136cc4de8b0d75b8b8cf47a0040
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_MAKE_ARGS="VERSION=${TERMUX_PKG_VERSION}"
termux_step_pre_configure() {
termux_setup_golang
go mod init || :
go mod tidy
}