Use @TERMUX_PREFIX@ in more patch files
[termux-packages] / packages / pforth / build.sh
index 79198d8..1d65294 100644 (file)
@@ -4,7 +4,6 @@ _COMMIT=f1994bf609c5b053c5c0d7db2062b570fa9f5ead
 TERMUX_PKG_VERSION=20170116
 TERMUX_PKG_SRCURL=https://github.com/philburk/pforth/archive/${_COMMIT}.zip
 TERMUX_PKG_SHA256=fffd7aec1f6601c48a9e2baa284c82d4b22a77f5860a49d83bd811ca4ea18a05
-TERMUX_PKG_FOLDERNAME=pforth-${_COMMIT}
 TERMUX_PKG_HOSTBUILD=yes
 
 termux_step_host_build () {
@@ -17,7 +16,7 @@ termux_step_host_build () {
 termux_step_pre_configure () {
        for file in pfdicdat.h pforth; do
                cp $TERMUX_PKG_HOSTBUILD_DIR/build/unix/$file $TERMUX_PKG_SRCDIR/build/unix/$file
-               $TERMUX_TOUCH -d "next hour" $TERMUX_PKG_SRCDIR/build/unix/$file
+               touch -d "next hour" $TERMUX_PKG_SRCDIR/build/unix/$file
        done
 
        export TERMUX_PKG_BUILDDIR=$TERMUX_PKG_SRCDIR/build/unix