TERMUX_PKG_RM_AFTER_INSTALL="share/examples"
termux_step_pre_configure () {
- cd $TERMUX_PKG_SRCDIR
LDFLAGS+=" -landroid-glob"
echo "PREFIX=\"$TERMUX_PREFIX\"" > configure.local
echo "CC=\"$CC\"" >> configure.local
termux_step_create_debscripts () {
echo "interest-noawait $TERMUX_PREFIX/share/man" > triggers
-
- echo "makewhatis -Q" > postinst
+
+ echo "#!$TERMUX_PREFIX/bin/sh" >> postinst
+ echo "makewhatis -Q" >> postinst
echo "exit 0" >> postinst
}