summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-04-06 20:48:35 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-04-06 20:48:35 +0700
commitf27ab90784b1dc3996d18689e6757c61d5431d04 (patch)
tree2bc572326372fdc29f90e0ee4d0a950495b9fa32 /development
parent2657de2f54543573cea07134939583ac4c1adc51 (diff)
downloadslackbuilds-f27ab90784b1dc3996d18689e6757c61d5431d04.tar.gz
development/vscode-bin: Updated for version 1.33.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/vscode-bin/vscode-bin.SlackBuild27
-rw-r--r--development/vscode-bin/vscode-bin.info10
2 files changed, 26 insertions, 11 deletions
diff --git a/development/vscode-bin/vscode-bin.SlackBuild b/development/vscode-bin/vscode-bin.SlackBuild
index f495ddb995..f9c184b08d 100644
--- a/development/vscode-bin/vscode-bin.SlackBuild
+++ b/development/vscode-bin/vscode-bin.SlackBuild
@@ -23,26 +23,41 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=vscode-bin
-SRCNAM=code-stable-1552606946
-VERSION=${VERSION:-1.32.3}
+SRCNAM=code-stable
+VERSION=${VERSION:-1.33.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-ARCH=x86_64
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+if [ "$ARCH" = "x86_64" ]; then
+ SRCVER=1554390792
+ ARC=x64
+else
+ SRCVER=1554390745
+ ARC=ia32
+fi
+
+
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf VSCode-linux-x64
-tar xvf $CWD/$SRCNAM.tar.gz
-cd VSCode-linux-x64
+rm -rf VSCode-linux-$ARC
+tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
+cd VSCode-linux-$ARC
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/development/vscode-bin/vscode-bin.info b/development/vscode-bin/vscode-bin.info
index 27c1a0723b..869cc4e60c 100644
--- a/development/vscode-bin/vscode-bin.info
+++ b/development/vscode-bin/vscode-bin.info
@@ -1,10 +1,10 @@
PRGNAM="vscode-bin"
-VERSION="1.32.3"
+VERSION="1.33.0"
HOMEPAGE="https://code.visualstudio.com/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://az764295.vo.msecnd.net/stable/a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4/code-stable-1552606946.tar.gz"
-MD5SUM_x86_64="f47106b81b899397a791a23a4ad1e9a6"
+DOWNLOAD="https://az764295.vo.msecnd.net/stable/0dd516dd412d42323fc3464531b1c715d51c4c1a/code-stable-1554390745.tar.gz"
+MD5SUM="f024b7fc7e4ab0b20f33c45697136cfd"
+DOWNLOAD_x86_64="https://az764295.vo.msecnd.net/stable/0dd516dd412d42323fc3464531b1c715d51c4c1a/code-stable-1554390792.tar.gz"
+MD5SUM_x86_64="e931f305fd8457ffb45b3f08caa20553"
REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"