dart: rename termux_step_extract_package->termux_step_get_source

Also specify TERMUX_PKG_SRC_EXTRACT to make lint-packages happy.
This commit is contained in:
Henrik Grimler 2020-07-17 14:22:36 +02:00
parent 96d06b2734
commit b9d70881aa

View File

@ -4,13 +4,14 @@ TERMUX_PKG_LICENSE="BSD"
TERMUX_PKG_LICENSE_FILE="sdk/LICENSE"
TERMUX_PKG_VERSION=2.7.2
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_SKIP_SRC_EXTRACT=true
# Dart uses tar and gzip to extract downloaded packages.
# Busybox-based versions of such utilities cause issues so
# complete ones should be used.
TERMUX_PKG_DEPENDS="gzip, tar"
termux_step_extract_package() {
termux_step_get_source() {
mkdir -p $TERMUX_PKG_SRCDIR
cd $TERMUX_PKG_SRCDIR