development/dart: Updated for version 2.1.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Zhu Qun-Ying 2019-02-17 21:49:59 +07:00 committed by Willy Sudiarto Raharjo
parent 1f73c64dc8
commit b4a8a99c0e
2 changed files with 16 additions and 18 deletions

View file

@ -23,12 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=dart
VERSION=${VERSION:-2.0.0}
VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
DARTIUM_VERSION=$VERSION
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@ -37,18 +35,17 @@ if [ -z "$ARCH" ]; then
esac
fi
echo "arch $ARCH"
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "x86_64" ]; then
if [ "$ARCH" == "x86_64" ]; then
PKG_PLATFORM="x64"
DARTIUM_VERSION=1.24.2
elif [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" == "i586" ]; then
PKG_PLATFORM="ia32"
DARTIUM_VERSION=1.22.0
elif [ "$ARCH" = "arm" ]; then
elif [ "$ARCH" == "arm" ]; then
PKG_PLATFORM="arm"
fi

View file

@ -1,14 +1,15 @@
PRGNAM="dart"
VERSION="2.0.0"
VERSION="2.1.0"
HOMEPAGE="https://www.dartlang.org/"
DOWNLOAD="https://storage.googleapis.com/dart-archive/channels/stable/release/2.0.0/sdk/dartsdk-linux-ia32-release.zip \
https://storage.googleapis.com/dart-archive/channels/stable/release/2.0.0/api-docs/dartdocs-gen-api.zip"
MD5SUM="c18604e912ef7c122aac0b475898ec84 \
e0715b1794a57c1ec5c5dbf9d2c16571"
DOWNLOAD_x86_64="https://storage.googleapis.com/dart-archive/channels/stable/release/2.0.0/sdk/dartsdk-linux-x64-release.zip \
https://storage.googleapis.com/dart-archive/channels/stable/release/2.0.0/api-docs/dartdocs-gen-api.zip"
MD5SUM_x86_64="078737e11b97a6cef1f1ae0462ede1f6 \
e0715b1794a57c1ec5c5dbf9d2c16571"
DOWNLOAD="https://storage.googleapis.com/dart-archive/channels/stable/release/2.1.0/sdk/dartsdk-linux-ia32-release.zip \
https://storage.googleapis.com/dart-archive/channels/stable/release/2.1.0/api-docs/dartdocs-gen-api.zip"
MD5SUM="a0842c49c7469137a9361ff837c7d7be \
0b3845be1aa91d6c8ea19ca9e06e36b6"
DOWNLOAD_x86_64="https://storage.googleapis.com/dart-archive/channels/stable/release/2.1.0/sdk/dartsdk-linux-x64-release.zip \
https://storage.googleapis.com/dart-archive/channels/stable/release/2.1.0/api-docs/dartdocs-gen-api.zip"
MD5SUM_x86_64="8a3b430e66c6778ec9d459e8b6c42a5f \
0b3845be1aa91d6c8ea19ca9e06e36b6"
REQUIRES=""
MAINTAINER="Zhu Qun-Ying"
EMAIL="zhu.qunying at gmail dot com"
EMAIL="zhu.qunying@gmail.com"