mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-28 05:32:35 +00:00
Update repo
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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?"
|
||||
|
||||
Reference in New Issue
Block a user