From a80ed52699673d11376bcf768070552c75d75b50 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 7 Nov 2020 10:23:12 +0700 Subject: [PATCH] development/vstudio: Updated for version 10. Signed-off-by: Willy Sudiarto Raharjo --- development/vstudio/vstudio.SlackBuild | 11 +++++++---- development/vstudio/vstudio.info | 10 +++++----- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/development/vstudio/vstudio.SlackBuild b/development/vstudio/vstudio.SlackBuild index fafa648c8e..c7dda34412 100644 --- a/development/vstudio/vstudio.SlackBuild +++ b/development/vstudio/vstudio.SlackBuild @@ -23,13 +23,12 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=vstudio -VERSION=${VERSION:-8.3} +VERSION=${VERSION:-10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} case "$( uname -m )" in - i?86) ARCH=i586 ; BASENAME=${BASENAME:-vstudio_8_lin} ;; - x86_64) ARCH=x86_64 ; BASENAME=${BASENAME:-vstudio_x64_8_lin} ;; + x86_64) ARCH=x86_64 ; BASENAME=${BASENAME:-vstudio_x64_10_lin} ;; *) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;; esac @@ -42,7 +41,11 @@ OUTPUT=${OUTPUT:-/tmp} rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $PKG -ar p $CWD/$BASENAME.deb data.tar.xz | tar xvJ +if [ -e $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 chown -R root:root . find -L . \ diff --git a/development/vstudio/vstudio.info b/development/vstudio/vstudio.info index 0a04d32368..7eec2e2f95 100644 --- a/development/vstudio/vstudio.info +++ b/development/vstudio/vstudio.info @@ -1,10 +1,10 @@ PRGNAM="vstudio" -VERSION="8.3" +VERSION="10" HOMEPAGE="http://www.valentina-db.com/" -DOWNLOAD="http://valentina-db.com/download/prev_releases/8.3/lin_32/vstudio_8_lin.deb" -MD5SUM="1e61812e12e3f58cc224e343e9ab2a03" -DOWNLOAD_x86_64="http://valentina-db.com/download/prev_releases/8.3/lin_64/vstudio_x64_8_lin.deb" -MD5SUM_x86_64="4fd63c73f25383e8aa05359c29759a2b" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://www.valentina-db.com/en/all-downloads/vstudio/current/vstudio_x64_lin-deb" +MD5SUM_x86_64="e7b762e2ecfb35527b60d89736f1eb0b" REQUIRES="" MAINTAINER="Antonio Leal" EMAIL="antonioleal@yahoo.com"