termux-packages/packages/has/build.sh

21 lines
667 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/kdabir/has
TERMUX_PKG_DESCRIPTION="has checks presence of various command line tools and their versions on the path"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.4.0
TERMUX_PKG_SRCURL=$TERMUX_PKG_HOMEPAGE/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=0e73552dbf59e3da0d9254da87c94599595c9ea07c69a62a4853e69bbf3f0d7d
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_DEPENDS=bash
TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_make() {
return
}
termux_step_make_install() {
local bin="$(basename $TERMUX_PKG_HOMEPAGE)"
install -D "$bin" -t "$TERMUX_PREFIX/bin"
}