summaryrefslogtreecommitdiff
path: root/development/dart/dart.SlackBuild
diff options
context:
space:
mode:
authorZhu Qun-Ying <zhu.qunying at gmail dot com>2018-08-08 20:56:27 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-11 07:23:07 +0700
commit50af2f837fec6a6dd0600ed4dd77e0435e5c1160 (patch)
tree5d3ef268da682ac9111a7dafb0961a004a1e355e /development/dart/dart.SlackBuild
parent42a2266c5b2d07b4d28e65b377767909f1fde4b5 (diff)
downloadslackbuilds-50af2f837fec6a6dd0600ed4dd77e0435e5c1160.tar.gz
development/dart: Updated for version 2.0.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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 f6706baec2..5c5da77d75 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