summaryrefslogtreecommitdiff
path: root/development
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
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')
-rw-r--r--development/dart/dart.SlackBuild11
-rw-r--r--development/dart/dart.info24
2 files changed, 12 insertions, 23 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
diff --git a/development/dart/dart.info b/development/dart/dart.info
index 05026a0c69..90f3c5efa8 100644
--- a/development/dart/dart.info
+++ b/development/dart/dart.info
@@ -1,18 +1,14 @@
PRGNAM="dart"
-VERSION="1.24.3"
+VERSION="2.0.0"
HOMEPAGE="https://www.dartlang.org/"
-DOWNLOAD="https://storage.googleapis.com/dart-archive/channels/stable/release/1.24.3/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.24.3/api-docs/dartdocs-gen-api.zip"
-MD5SUM="476dc74032b6633452341827858d29b6 \
- 469c3780daaec5ecc1b56bed7da621a0 \
- 23f947896ce5af3d929ce7500d7e0321"
-DOWNLOAD_x86_64="https://storage.googleapis.com/dart-archive/channels/stable/release/1.24.3/sdk/dartsdk-linux-x64-release.zip \
- https://storage.googleapis.com/dart-archive/channels/stable/release/1.24.3/dartium/dartium-linux-x64-release.zip \
- https://storage.googleapis.com/dart-archive/channels/stable/release/1.24.3/api-docs/dartdocs-gen-api.zip"
-MD5SUM_x86_64="2317c5817d69aa248ec0219d9be3ac34 \
- 94e7e7beca2ebdd9bb8f9847702cfd9d \
- 23f947896ce5af3d929ce7500d7e0321"
+DOWNLOAD="https://storage.googleapis.com/dart-archive/channels/stable/release/2.0.0/sdk/dartsdk-linux-ia32-release.zip \
+ https://storage.googleapis.com/dart-archive/channels/stable/release/2.0.0/api-docs/dartdocs-gen-api.zip"
+MD5SUM="c18604e912ef7c122aac0b475898ec84 \
+ e0715b1794a57c1ec5c5dbf9d2c16571"
+DOWNLOAD_x86_64="https://storage.googleapis.com/dart-archive/channels/stable/release/2.0.0/sdk/dartsdk-linux-x64-release.zip \
+ https://storage.googleapis.com/dart-archive/channels/stable/release/2.0.0/api-docs/dartdocs-gen-api.zip"
+MD5SUM_x86_64="078737e11b97a6cef1f1ae0462ede1f6 \
+ e0715b1794a57c1ec5c5dbf9d2c16571"
REQUIRES=""
MAINTAINER="Zhu Qun-Ying"
-EMAIL="zhu.qunying@gmail.com"
+EMAIL="zhu.qunying at gmail dot com"