diff --git a/packages/dart/build.sh b/packages/dart/build.sh index 061f8843c..63679dff1 100644 --- a/packages/dart/build.sh +++ b/packages/dart/build.sh @@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="BSD" TERMUX_PKG_LICENSE_FILE="sdk/LICENSE" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=2.15.1 +TERMUX_PKG_REVISION=1 TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_SKIP_SRC_EXTRACT=true @@ -47,19 +48,19 @@ termux_step_make_install() { rm -f ./out/*/args.gn if [ $TERMUX_ARCH = "arm" ]; then - DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --no-goma --mode release --arch=arm --os=android create_sdk + DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --no-goma --mode release --arch=arm --os=android create_sdk dart2js chmod +x ./out/ReleaseAndroidARM/dart-sdk/bin/* cp -r ./out/ReleaseAndroidARM/dart-sdk ${TERMUX_PREFIX}/lib elif [ $TERMUX_ARCH = "i686" ]; then - DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --no-goma --mode release --arch=ia32 --os=android create_sdk + DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --no-goma --mode release --arch=ia32 --os=android create_sdk dart2js chmod +x ./out/ReleaseAndroidIA32/dart-sdk/bin/* cp -r ./out/ReleaseAndroidIA32/dart-sdk ${TERMUX_PREFIX}/lib elif [ $TERMUX_ARCH = "aarch64" ]; then - DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --no-goma --mode release --arch=arm64c --os=android create_sdk + DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --no-goma --mode release --arch=arm64c --os=android create_sdk dart2js chmod +x ./out/ReleaseAndroidARM64C/dart-sdk/bin/* cp -r ./out/ReleaseAndroidARM64C/dart-sdk ${TERMUX_PREFIX}/lib elif [ $TERMUX_ARCH = "x86_64" ]; then - DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --no-goma --mode release --arch=x64c --os=android create_sdk + DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --no-goma --mode release --arch=x64c --os=android create_sdk dart2js chmod +x ./out/ReleaseAndroidX64C/dart-sdk/bin/* cp -r ./out/ReleaseAndroidX64C/dart-sdk ${TERMUX_PREFIX}/lib else