aboutsummaryrefslogtreecommitdiff
path: root/development/vscodium
diff options
context:
space:
mode:
authorrc-05 <rc_05@protonmail.com>2022-05-07 03:37:22 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-07 13:59:35 +0700
commit0a0b4949cc84c95025b5425166a6f212b21c4350 (patch)
tree4bbeb5960aa00cf99f885168fb0fdaaf5a4406f3 /development/vscodium
parentd9e68e45ab3c81d4eff494e0eb573c2826087a0e (diff)
development/vscodium: Updated for version 1.66.2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/vscodium')
-rw-r--r--development/vscodium/vscodium.SlackBuild19
-rw-r--r--development/vscodium/vscodium.info8
2 files changed, 12 insertions, 15 deletions
diff --git a/development/vscodium/vscodium.SlackBuild b/development/vscodium/vscodium.SlackBuild
index 841f92beffb3f..544ba6521567f 100644
--- a/development/vscodium/vscodium.SlackBuild
+++ b/development/vscodium/vscodium.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for vscodium
-# Copyright 2021 rc-05 <rc23@email.it>
+# Copyright 2022 rc-05 <rc_o5@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=vscodium
-VERSION=${VERSION:-1.65.2}
+VERSION=${VERSION:-1.66.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,20 +38,17 @@ if [ -z "$ARCH" ]; then
esac
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
# Bail out when building the Slackbuild on non-x86_64 arch.
if [ "$ARCH" != "x86_64" ]; then
echo "Unsupported on $ARCH: last version available is 1.35.2"
exit -1
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -84,7 +81,7 @@ mkdir -p $PKG/usr/share/icons/hicolor/1024x1024/apps
cp $PKG/opt/$PRGNAM/resources/app/resources/linux/code.png $PKG/usr/share/icons/hicolor/1024x1024/apps
cd $PKG/usr/bin
-ln -s /opt/$PRGNAM/bin/codium .
+ln -s ../../opt/$PRGNAM/bin/codium .
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/development/vscodium/vscodium.info b/development/vscodium/vscodium.info
index f8e9b4683772c..3d4a25979ff3a 100644
--- a/development/vscodium/vscodium.info
+++ b/development/vscodium/vscodium.info
@@ -1,10 +1,10 @@
PRGNAM="vscodium"
-VERSION="1.65.2"
+VERSION="1.66.2"
HOMEPAGE="https://vscodium.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/VSCodium/vscodium/releases/download/1.65.2/VSCodium-linux-x64-1.65.2.tar.gz"
-MD5SUM_x86_64="9c07bdaf9bd9345da5eb27e44ff834df"
+DOWNLOAD_x86_64="https://github.com/VSCodium/vscodium/releases/download/1.66.2/VSCodium-linux-x64-1.66.2.tar.gz"
+MD5SUM_x86_64="26f5e4969d7dc0f300c6ea27784b3f7e"
REQUIRES=""
MAINTAINER="rc-05"
-EMAIL="rc23@email.it"
+EMAIL="rc_05@protonmail.com"