mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-09 04:13:22 +00:00
direnv installs it binary to $DESTDIR/$BINDIR, where
$BINDIR=${PREFIX}/bin and $PREFIX=/usr/local
We set $DESTDIR=$TERMUX_PREFIX while leaving direnv's $PREFIX unchanged
causing the binary to install in $TERMUX_PREFIX/usr/local/bin instead of
$TERMUX_PREFIX/bin (assuming we aren't installing it in
$TERMUX_PREFIX/local/bin like most termux packages)
Signed-off-by: Saurabh Charde <saurabhchardereal@gmail.com>