aboutsummaryrefslogtreecommitdiff
path: root/development/dart/dart.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/dart/dart.SlackBuild')
-rw-r--r--development/dart/dart.SlackBuild11
1 files changed, 2 insertions, 9 deletions
diff --git a/development/dart/dart.SlackBuild b/development/dart/dart.SlackBuild
index f6706baec24cd..5c5da77d754ff 100644
--- a/development/dart/dart.SlackBuild
+++ b/development/dart/dart.SlackBuild
@@ -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