mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-06 10:53:21 +00:00
26 lines
713 B
Bash
26 lines
713 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/antonmedv/walk
|
|
TERMUX_PKG_DESCRIPTION="A terminal file manager"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="1.5.2"
|
|
TERMUX_PKG_SRCURL=https://github.com/antonmedv/walk/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=b42cc8744cea255e38e0cc605fdf4c32eb6e5279ed8430a7de126a82975553b6
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
# Package was previously named as "llama".
|
|
TERMUX_PKG_BREAKS="llama (<< 1.4.0-2)"
|
|
TERMUX_PKG_REPLACES="llama (<< 1.4.0-2)"
|
|
|
|
termux_step_make() {
|
|
termux_setup_golang
|
|
|
|
go mod init || :
|
|
go mod tidy
|
|
go build
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
install -Dm700 -t $TERMUX_PREFIX/bin walk
|
|
}
|