Update repo

This commit is contained in:
termux-pacman-bot
2025-07-18 09:41:08 +00:00
parent 3248b11aae
commit 8136ebd922
3 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ termux_step_configure() {
# This check should be above autotools check as haskell package too makes use of configure scripts which
# should be executed by its own build system.
if ls "${TERMUX_PKG_SRCDIR}"/*.cabal &>/dev/null; then
if ls "${TERMUX_PKG_SRCDIR}"/*.cabal &>/dev/null || ls "${TERMUX_PKG_SRCDIR}"/cabal.project &>/dev/null; then
[ "$TERMUX_CONTINUE_BUILD" == "true" ] && return
termux_step_configure_cabal
elif [ "$TERMUX_PKG_FORCE_CMAKE" = "false" ] && [ -f "$TERMUX_PKG_SRCDIR/configure" ]; then

View File

@@ -8,7 +8,7 @@ termux_step_make() {
if test -f build.ninja; then
ninja -j $TERMUX_PKG_MAKE_PROCESSES
elif ls ./*.cabal &>/dev/null; then
elif ls ./*.cabal &>/dev/null || ls ./cabal.project &>/dev/null; then
cabal --config="$TERMUX_CABAL_CONFIG" build
elif ls ./*akefile &>/dev/null || [ ! -z "$TERMUX_PKG_EXTRA_MAKE_ARGS" ]; then
if [ -z "$TERMUX_PKG_EXTRA_MAKE_ARGS" ]; then

View File

@@ -6,7 +6,7 @@ termux_step_make_install() {
ninja -j $TERMUX_PKG_MAKE_PROCESSES install
elif test -f setup.py || test -f pyproject.toml || test -f setup.cfg; then
pip install --no-deps . --prefix $TERMUX_PREFIX
elif ls ./*.cabal &>/dev/null; then
elif ls ./*.cabal &>/dev/null || ls ./cabal.project &>/dev/null; then
# Workaround until `cabal install` is fixed.
while read -r bin; do
[[ -f "$bin" ]] || termux_error_exit "'$bin', no such file. Has build completed?"