diff options
Diffstat (limited to 'development/dart/dart.SlackBuild')
-rw-r--r-- | development/dart/dart.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/development/dart/dart.SlackBuild b/development/dart/dart.SlackBuild index 062ed7d7997b..407ce38f4aca 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 |