development/vstudio: Updated for version 10.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2020-11-07 10:23:12 +07:00
parent 28e9a6fb90
commit a80ed52699
2 changed files with 12 additions and 9 deletions

View file

@ -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 . \

View file

@ -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"