summaryrefslogtreecommitdiff
path: root/development/vstudio/vstudio.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/vstudio/vstudio.SlackBuild')
-rw-r--r--development/vstudio/vstudio.SlackBuild11
1 files changed, 7 insertions, 4 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 . \