development/dart: Updated for version 1.22.1.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Zhu Qun-Ying 2017-03-13 23:28:50 +00:00 committed by Willy Sudiarto Raharjo
parent 9b4fb252a1
commit fb34d0c3b6
2 changed files with 20 additions and 15 deletions

View File

@ -23,9 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=dart
VERSION=${VERSION:-1.21.0}
VERSION=${VERSION:-1.22.1}
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
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@ -44,6 +48,7 @@ if [ "$ARCH" == "x86_64" ]; then
PKG_PLATFORM="x64"
elif [ "$ARCH" == "i586" ]; then
PKG_PLATFORM="ia32"
DARTIUM_VERSION=1.22.0
elif [ "$ARCH" == "arm" ]; then
PKG_PLATFORM="arm"
fi
@ -63,7 +68,7 @@ if ! [ "$ARCH" = "arm" ] ; then
fi
unzip $CWD/dartdocs-gen-api.zip
mv dartium-linux-$PKG_PLATFORM-stable-$VERSION.0 dartium
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

View File

@ -1,18 +1,18 @@
PRGNAM="dart"
VERSION="1.21.0"
VERSION="1.22.1"
HOMEPAGE="https://www.dartlang.org/"
DOWNLOAD="https://storage.googleapis.com/dart-archive/channels/stable/release/1.21.0/sdk/dartsdk-linux-ia32-release.zip \
https://storage.googleapis.com/dart-archive/channels/stable/release/1.21.0/dartium/dartium-linux-ia32-release.zip \
https://storage.googleapis.com/dart-archive/channels/stable/release/1.21.0/api-docs/dartdocs-gen-api.zip"
MD5SUM="ff67df94f5d6c1a44d2eb9f2c98a98e6 \
0a2d3ebdf22738d5e44d2ace6471f0ce \
9bfc43bee007ac0100910ea43fee0e28"
DOWNLOAD_x86_64="https://storage.googleapis.com/dart-archive/channels/stable/release/1.21.0/sdk/dartsdk-linux-x64-release.zip \
https://storage.googleapis.com/dart-archive/channels/stable/release/1.21.0/dartium/dartium-linux-x64-release.zip \
https://storage.googleapis.com/dart-archive/channels/stable/release/1.21.0/api-docs/dartdocs-gen-api.zip"
MD5SUM_x86_64="d636281d43877a0e2a40e8b16077cdcd \
cfb9396e4f4ddec217b88285f1e032e2 \
9bfc43bee007ac0100910ea43fee0e28"
DOWNLOAD="https://storage.googleapis.com/dart-archive/channels/stable/release/1.22.1/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.22.1/api-docs/dartdocs-gen-api.zip"
MD5SUM="b64dfa7907b5490ef1ce6cba23908129 \
469c3780daaec5ecc1b56bed7da621a0 \
c117a5b4d3101474a0f7898fec71ae2f"
DOWNLOAD_x86_64="https://storage.googleapis.com/dart-archive/channels/stable/release/1.22.1/sdk/dartsdk-linux-x64-release.zip \
https://storage.googleapis.com/dart-archive/channels/stable/release/1.22.1/dartium/dartium-linux-x64-release.zip \
https://storage.googleapis.com/dart-archive/channels/stable/release/1.22.1/api-docs/dartdocs-gen-api.zip"
MD5SUM_x86_64="680add92ca368c9d397a9eae966b013a \
0d988b00c450750c1acb378e9e9bcff4 \
c117a5b4d3101474a0f7898fec71ae2f"
REQUIRES=""
MAINTAINER="Zhu Qun-Ying"
EMAIL="zhu.qunying@gmail.com"