fix(main/libgts): always hostbuild, even during repeated builds

- This package's `termux_step_host_build()` build in a way that stores a partial build within `$TERMUX_PKG_SRCDIR`, which is erased during repeated builds, so it needs to always be rebuilt in order for repeated builds to succeed
This commit is contained in:
termux-pacman-bot
2026-01-18 12:07:41 +00:00
parent 6ca013c4cd
commit fe4e05bd74

View File

@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://gts.sourceforge.net/
TERMUX_PKG_DESCRIPTION="Provides useful functions to deal with 3D surfaces meshed with interconnected triangles"
TERMUX_PKG_LICENSE="LGPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.7.6
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/gts/gts/${TERMUX_PKG_VERSION}/gts-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_VERSION="0.7.6"
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL="https://downloads.sourceforge.net/project/gts/gts/${TERMUX_PKG_VERSION}/gts-${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=059c3e13e3e3b796d775ec9f96abdce8f2b3b5144df8514eda0cc12e13e8b81e
TERMUX_PKG_DEPENDS="glib"
TERMUX_PKG_BUILD_IN_SRC=true
@@ -15,3 +15,10 @@ termux_step_host_build() {
$TERMUX_PKG_SRCDIR/configure
make -C src predicates_init
}
# prevents error
# /bin/bash: line 1: ./predicates_init: cannot execute binary file: Exec format error
# during repeated builds
termux_step_pre_configure() {
rm -rf "$TERMUX_HOSTBUILD_MARKER"
}