1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-21 08:47:08 +00:00
termux-packages/packages/llama/build.sh
2022-11-17 14:57:14 +00:00

21 lines
562 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/antonmedv/llama
TERMUX_PKG_DESCRIPTION="A terminal file manager"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.1.1
TERMUX_PKG_SRCURL=https://github.com/antonmedv/llama/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=fbe387c567d4be018c7b031a87c311d866fb892a306c8d0619e5ce800a466bb6
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
termux_setup_golang
go mod init || :
go mod tidy
go build
}
termux_step_make_install() {
install -Dm700 -t $TERMUX_PREFIX/bin llama
}