summaryrefslogtreecommitdiff
path: root/development/dart/dart.SlackBuild
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 /development/dart/dart.SlackBuild
parent9b4fb252a1b08af85e9c2c5d1cda8603fd555f38 (diff)
downloadslackbuilds-fb34d0c3b62c741c6e0ec44c9d74826f27a98282.tar.gz
development/dart: Updated for version 1.22.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/dart/dart.SlackBuild')
-rw-r--r--development/dart/dart.SlackBuild9
1 files changed, 7 insertions, 2 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