termux-packages/packages/direnv/build.sh
2020-11-22 00:40:37 +00:00

17 lines
480 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/direnv/direnv
TERMUX_PKG_DESCRIPTION="Environment switcher for shell"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_VERSION=2.24.0
TERMUX_PKG_SRCURL=https://github.com/direnv/direnv/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=a0993912bc6e89580bc8320d3c9b3e70ccd6aa06c1d847a4d9174bee8a8b9431
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
termux_setup_golang
make
}
termux_step_make_install() {
make install DESTDIR=$TERMUX_PREFIX
}