From 0a0b4949cc84c95025b5425166a6f212b21c4350 Mon Sep 17 00:00:00 2001 From: rc-05 Date: Sat, 7 May 2022 03:37:22 +0100 Subject: development/vscodium: Updated for version 1.66.2. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- development/vscodium/vscodium.SlackBuild | 19 ++++++++----------- development/vscodium/vscodium.info | 8 ++++---- 2 files changed, 12 insertions(+), 15 deletions(-) (limited to 'development') diff --git a/development/vscodium/vscodium.SlackBuild b/development/vscodium/vscodium.SlackBuild index 841f92beff..544ba65215 100644 --- a/development/vscodium/vscodium.SlackBuild +++ b/development/vscodium/vscodium.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for vscodium -# Copyright 2021 rc-05 +# Copyright 2022 rc-05 # 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 f8e9b46837..3d4a25979f 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" -- cgit v1.2.3