nsis: Create symlink to makensis from bin/

so that `command-not-found` can find it.
This commit is contained in:
Tee KOBAYASHI 2022-03-14 08:57:51 +09:00 committed by xtkoba
parent c5ff038fa7
commit 17ef6c4971

View File

@ -5,6 +5,7 @@ TERMUX_PKG_LICENSE="custom"
TERMUX_PKG_LICENSE_FILE="COPYING"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=3.08
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://prdownloads.sourceforge.net/nsis/nsis-${TERMUX_PKG_VERSION}-src.tar.bz2
TERMUX_PKG_SHA256=a85270ad5386182abecb2470e3d7e9bec9fe4efd95210b13551cb386830d1e87
TERMUX_PKG_DEPENDS="libandroid-support, libc++, libiconv, zlib"
@ -24,3 +25,7 @@ termux_step_make_install() {
PREFIX="$TERMUX_PREFIX/opt/nsis" \
install-compiler
}
termux_step_post_make_install() {
ln -sf $TERMUX_PREFIX/opt/nsis/makensis $TERMUX_PREFIX/bin/
}