development/dart: Updated for version 2.0.0.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Zhu Qun-Ying 2018-08-08 20:56:27 +01:00 committed by Willy Sudiarto Raharjo
parent 42a2266c5b
commit 50af2f837f
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 12 additions and 23 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for <dart>
# Copyright 2016 Zhu Qun-Ying
# Copyright 2016-2018 Zhu Qun-Ying
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,11 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=dart
VERSION=${VERSION:-1.24.3}
VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# this version of dart SDK does not have x86 dartium, use the one from previous
# version
DARTIUM_VERSION=$VERSION
@ -64,13 +62,8 @@ mkdir -p $PKG/opt
cd $PKG/opt
unzip $CWD/dartsdk-linux-$PKG_PLATFORM-release.zip
if ! [ "$ARCH" = "arm" ] ; then
unzip $CWD/dartium-linux-$PKG_PLATFORM-release.zip
fi
unzip $CWD/dartdocs-gen-api.zip
mv dartium-linux-$PKG_PLATFORM-stable-$DARTIUM_VERSION.0 dartium
mkdir -p $PKG/usr/doc/dart-$VERSION
cp $CWD/dart.SlackBuild $PKG/usr/doc/dart-$VERSION
mv gen-dartdocs $PKG/usr/doc/dart-$VERSION/doc

View file

@ -1,18 +1,14 @@
PRGNAM="dart"
VERSION="1.24.3"
VERSION="2.0.0"
HOMEPAGE="https://www.dartlang.org/"
DOWNLOAD="https://storage.googleapis.com/dart-archive/channels/stable/release/1.24.3/sdk/dartsdk-linux-ia32-release.zip \
https://storage.googleapis.com/dart-archive/channels/stable/release/1.22.0/dartium/dartium-linux-ia32-release.zip \
https://storage.googleapis.com/dart-archive/channels/stable/release/1.24.3/api-docs/dartdocs-gen-api.zip"
MD5SUM="476dc74032b6633452341827858d29b6 \
469c3780daaec5ecc1b56bed7da621a0 \
23f947896ce5af3d929ce7500d7e0321"
DOWNLOAD_x86_64="https://storage.googleapis.com/dart-archive/channels/stable/release/1.24.3/sdk/dartsdk-linux-x64-release.zip \
https://storage.googleapis.com/dart-archive/channels/stable/release/1.24.3/dartium/dartium-linux-x64-release.zip \
https://storage.googleapis.com/dart-archive/channels/stable/release/1.24.3/api-docs/dartdocs-gen-api.zip"
MD5SUM_x86_64="2317c5817d69aa248ec0219d9be3ac34 \
94e7e7beca2ebdd9bb8f9847702cfd9d \
23f947896ce5af3d929ce7500d7e0321"
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"
REQUIRES=""
MAINTAINER="Zhu Qun-Ying"
EMAIL="zhu.qunying@gmail.com"
EMAIL="zhu.qunying at gmail dot com"