direnv: patch makefile to set correct PREFIX

This commit is contained in:
Henrik Grimler 2021-09-07 21:58:30 +02:00
parent abb053274b
commit 283c1337a1
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
2 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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