Automatically build with -s if external package
authorFredrik Fornwall <fredrik@fornwall.net>
Thu, 6 Apr 2017 22:38:21 +0000 (00:38 +0200)
committerFredrik Fornwall <fredrik@fornwall.net>
Thu, 6 Apr 2017 22:38:21 +0000 (00:38 +0200)
build-package.sh

index af3d0c5..1c118c0 100755 (executable)
@@ -157,6 +157,8 @@ termux_step_handle_arguments() {
                if [ ! -d "$1" ]; then termux_error_exit "'$1' seems to be a path but is not a directory"; fi
                export TERMUX_PKG_BUILDER_DIR
                TERMUX_PKG_BUILDER_DIR=$(realpath "$1")
+               # Skip depcheck for external package:
+               TERMUX_SKIP_DEPCHECK=true
        else
                # Package name:
                if [ -n "${TERMUX_IS_DISABLED=""}" ]; then