summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhu Qun-Ying <zhu.qunying@gmail.com>2017-03-13 23:28:50 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-18 06:58:29 +0700
commitfb34d0c3b62c741c6e0ec44c9d74826f27a98282 (patch)
tree0b2540de6ffb94e2b19586f33ead3b9baf39064a
parent9b4fb252a1b08af85e9c2c5d1cda8603fd555f38 (diff)
downloadslackbuilds-fb34d0c3b62c741c6e0ec44c9d74826f27a98282.tar.gz
development/dart: Updated for version 1.22.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--development/dart/dart.SlackBuild9
-rw-r--r--development/dart/dart.info26
2 files changed, 20 insertions, 15 deletions
diff --git a/development/dart/dart.SlackBuild b/development/dart/dart.SlackBuild
index 062ed7d799..407ce38f4a 100644
--- a/development/dart/dart.SlackBuild
+++ b/development/dart/dart.SlackBuild
@@ -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
diff --git a/development/dart/dart.info b/development/dart/dart.info
index 06f9c39e99..8a09017d89 100644
--- a/development/dart/dart.info
+++ b/development/dart/dart.info
@@ -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"