summaryrefslogtreecommitdiffstats
path: root/development/vstudio
diff options
context:
space:
mode:
Diffstat (limited to 'development/vstudio')
-rw-r--r--development/vstudio/README2
-rw-r--r--development/vstudio/vstudio.SlackBuild24
-rw-r--r--development/vstudio/vstudio.info6
3 files changed, 22 insertions, 10 deletions
diff --git a/development/vstudio/README b/development/vstudio/README
index a3fd87e745..0b0a633950 100644
--- a/development/vstudio/README
+++ b/development/vstudio/README
@@ -14,3 +14,5 @@ MySQL, Postgre and SQLite with help of the following tools:
data.
Note: You need to request a free license to use this software
+also, the debian package file is unversioned so MD5SUM and VERSION
+might change unexpectly.
diff --git a/development/vstudio/vstudio.SlackBuild b/development/vstudio/vstudio.SlackBuild
index c7dda34412..6d644ad012 100644
--- a/development/vstudio/vstudio.SlackBuild
+++ b/development/vstudio/vstudio.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vstudio
-# Copyright 2015 Antonio Leal, Lisbon, Portugal
+# Copyright 2023 Antonio Leal, Porto Salvo, Oeiras, Portugal
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,18 +22,28 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vstudio
-VERSION=${VERSION:-10}
+VERSION=${VERSION:-13.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
case "$( uname -m )" in
- x86_64) ARCH=x86_64 ; BASENAME=${BASENAME:-vstudio_x64_10_lin} ;;
+ x86_64) ARCH=x86_64 ; BASENAME=${BASENAME:-vstudio_x64_13_lin} ;;
*) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
esac
set -e
-CWD=$(pwd)
+# 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}
@@ -41,7 +51,7 @@ OUTPUT=${OUTPUT:-/tmp}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-if [ -e $BASENAME.deb ]; then
+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
@@ -67,4 +77,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/vstudio/vstudio.info b/development/vstudio/vstudio.info
index 8c48543575..28a038d85e 100644
--- a/development/vstudio/vstudio.info
+++ b/development/vstudio/vstudio.info
@@ -1,10 +1,10 @@
PRGNAM="vstudio"
-VERSION="10"
+VERSION="13.7"
HOMEPAGE="http://www.valentina-db.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://www.valentina-db.com/en/all-downloads/vstudio/current/vstudio_x64_lin-deb"
-MD5SUM_x86_64="7a0e80bc55f9ddeb4e32decc6ace127b"
+DOWNLOAD_x86_64="http://valentina-db.com/download/prev_releases/13.7/lin_64/vstudio_x64_13_lin.deb"
+MD5SUM_x86_64="72a0e9a9f9eadf9a27b5523e836c04a0"
REQUIRES=""
MAINTAINER="Antonio Leal"
EMAIL="antonioleal@yahoo.com"