diff options
Diffstat (limited to 'development/vstudio/vstudio.SlackBuild')
-rw-r--r-- | development/vstudio/vstudio.SlackBuild | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/development/vstudio/vstudio.SlackBuild b/development/vstudio/vstudio.SlackBuild index 6d644ad012..07c9e7ac76 100644 --- a/development/vstudio/vstudio.SlackBuild +++ b/development/vstudio/vstudio.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for vstudio -# Copyright 2023 Antonio Leal, Porto Salvo, Oeiras, Portugal +# Copyright 2023-2025 Antonio Leal, Porto Salvo, Oeiras, Portugal # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,13 +25,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=vstudio -VERSION=${VERSION:-13.7} +VERSION=${VERSION:-15.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} case "$( uname -m )" in - x86_64) ARCH=x86_64 ; BASENAME=${BASENAME:-vstudio_x64_13_lin} ;; + x86_64) ARCH=x86_64 ;; *) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;; esac @@ -51,11 +51,7 @@ OUTPUT=${OUTPUT:-/tmp} rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $PKG -if [ -e $CWD/$BASENAME.deb ]; then - ar p $CWD/$BASENAME.deb data.tar.xz | tar xvJ -else - ar p $CWD/vstudio_x64_lin-deb data.tar.xz | tar xvJ -fi +ar p $CWD/vstudio_x64_15_lin.deb data.tar.xz | tar xvJ chown -R root:root . find -L . \ @@ -67,9 +63,13 @@ find -L . \ # Make sure top-level perms are correct: chmod 0755 . +# sbopkglint: ELF binaries/libraries should be executable +chmod -R +x $PKG/opt/VStudio/qt/* +chmod -R +x $PKG/opt/VStudio/lib/liblt.so +chmod -R +x $PKG/opt/VStudio/vcomponents/* +chmod -R +x $PKG/opt/VStudio/Plugins/* + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $PKG/usr/share/doc/vstudio/* $PKG/usr/doc/$PRGNAM-$VERSION -rm -rf $PKG/usr/share/doc cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |