diff --git a/packages/imgflo/build.sh b/packages/imgflo/build.sh index ba6c5add8..27b408f9c 100644 --- a/packages/imgflo/build.sh +++ b/packages/imgflo/build.sh @@ -1,7 +1,7 @@ TERMUX_PKG_HOMEPAGE="http://www.imgflo.org/" TERMUX_PKG_DESCRIPTION="HTTP image processing server & Flowhub.io compatible runtime" TERMUX_PKG_VERSION=0.4.2 -TERMUX_PKG_SRCURL=https://github.com/imgflo/imgflo/archive/0.4.2.tar.gz +TERMUX_PKG_SRCURL=https://github.com/imgflo/imgflo/archive/$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_FOLDERNAME=imgflo-$TERMUX_PKG_VERSION TERMUX_PKG_SHA256=4dd5fc9d34f3cfc294fd69a14d50ed5401abeb829132f1b1ac316e28223fc393 TERMUX_PKG_DEPENDS="gegl, libsoup" diff --git a/packages/imgflo/library.c.patch b/packages/imgflo/library.c.patch index 739dcf7e8..585c63e2f 100644 --- a/packages/imgflo/library.c.patch +++ b/packages/imgflo/library.c.patch @@ -12,7 +12,7 @@ GError *err = NULL; gchar **argv = g_new0(gchar *, 10); - argv[0] = g_strdup("/usr/bin/env"); -+ argv[0] = g_strdup("/data/data/com.termux/files/usr/bin/env"); ++ argv[0] = g_strdup("@TERMUX_PREFIX@/bin/env"); argv[1] = g_strdup("make"); argv[2] = g_strdup("component"); argv[3] = g_strdup_printf("COMPONENT=%s", component);