mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 14:13:36 +00:00
7f0711ef8a
This commit has been automatically submitted by Github Actions.
21 lines
593 B
Bash
21 lines
593 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/zk-org/zk
|
|
TERMUX_PKG_DESCRIPTION="A plain text note-taking assistant"
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
|
TERMUX_PKG_MAINTAINER="@kirasok"
|
|
TERMUX_PKG_VERSION="0.14.1"
|
|
TERMUX_PKG_SRCURL=https://github.com/zk-org/zk/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=563331e1f5a03b4dd3a4ff642cc205cc7b6c3c350c98f627a3273067e7ec234c
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
|
|
termux_step_pre_configure() {
|
|
termux_setup_golang
|
|
|
|
go mod init || :
|
|
go mod tidy
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
install -Dm700 -t $TERMUX_PREFIX/bin zk
|
|
}
|