mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 14:13:36 +00:00
182620a960
* Before: ``` $ amfora --version Amfora Commit: Built by: Makefile ``` * After: ``` $ amfora --version Amfora 1.10.0 Commit: Built by: Makefile ```
20 lines
722 B
Bash
20 lines
722 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/makeworld-the-better-one/amfora
|
|
TERMUX_PKG_DESCRIPTION="Aims to be the best looking Gemini client"
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="1.10.0"
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=https://github.com/makeworld-the-better-one/amfora/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=0bc9964ccefb3ea0d66944231492f66c3b0009ab0040e19cc115d0b4cd9b8078
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_EXTRA_MAKE_ARGS="PREFIX=$TERMUX_PREFIX VERSION=$TERMUX_PKG_VERSION"
|
|
|
|
termux_step_pre_configure() {
|
|
termux_setup_golang
|
|
sed -i 's|CGO_ENABLED=0|CGO_ENABLED=1|g' Makefile
|
|
|
|
go mod init || :
|
|
go mod tidy
|
|
}
|