diff --git a/packages/direnv/GNUmakefile.patch b/packages/direnv/GNUmakefile.patch new file mode 100644 index 000000000..05b42c5c4 --- /dev/null +++ b/packages/direnv/GNUmakefile.patch @@ -0,0 +1,11 @@ +--- ./GNUmakefile.orig 2021-09-07 19:57:19.175164197 +0000 ++++ ./GNUmakefile 2021-09-07 19:57:28.528497597 +0000 +@@ -3,7 +3,7 @@ + ############################################################################ + + # Set this to change the target installation path +-PREFIX = /usr/local ++PREFIX ?= /usr/local + BINDIR = ${PREFIX}/bin + SHAREDIR = ${PREFIX}/share + MANDIR = ${SHAREDIR}/man diff --git a/packages/direnv/build.sh b/packages/direnv/build.sh index 322d3ae73..1b9957376 100644 --- a/packages/direnv/build.sh +++ b/packages/direnv/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Environment switcher for shell" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=2.28.0 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://github.com/direnv/direnv/archive/v$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_SHA256=fa539c63034b6161d8238299bb516dcec79e8905cd43ff2b9559ad6bf047cc93 TERMUX_PKG_AUTO_UPDATE=true