termux-packages/packages/direnv/build.sh

18 lines
512 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://github.com/direnv/direnv
TERMUX_PKG_DESCRIPTION="Environment switcher for shell"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
2021-01-02 01:46:41 +01:00
TERMUX_PKG_VERSION=2.27.0
TERMUX_PKG_SRCURL=https://github.com/direnv/direnv/archive/v$TERMUX_PKG_VERSION.tar.gz
2021-01-02 01:46:41 +01:00
TERMUX_PKG_SHA256=9dc5ce43c63d9d9ff510c6bcd6ae06f3f2f907347e7cbb2bb6513bfb0f151621
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
termux_setup_golang
make
}
termux_step_make_install() {
make install DESTDIR=$TERMUX_PREFIX
}