summaryrefslogtreecommitdiff
path: root/multimedia/xvst/xvst.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-09-08 18:17:22 -0400
committerdsomero <xgizzmo@slackbuilds.org>2010-09-08 18:17:22 -0400
commitefbcbe15fe20550a3391fcfa37ff7440521cf0db (patch)
tree710b43a8e94788f0955792d44014c163144b5447 /multimedia/xvst/xvst.SlackBuild
parent843bbece241f3d96254903147cdd37ad5776c946 (diff)
downloadslackbuilds-efbcbe15fe20550a3391fcfa37ff7440521cf0db.tar.gz
multimedia/xvst: Updated for version 2.4.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia/xvst/xvst.SlackBuild')
-rw-r--r--multimedia/xvst/xvst.SlackBuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/multimedia/xvst/xvst.SlackBuild b/multimedia/xvst/xvst.SlackBuild
index bee9ef5714..192443b1bb 100644
--- a/multimedia/xvst/xvst.SlackBuild
+++ b/multimedia/xvst/xvst.SlackBuild
@@ -5,8 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=xvst
-VERSION=2.4
-SRCVER=$(echo $VERSION | tr '.' '_')
+VERSION=2.4.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -25,16 +24,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -45,7 +40,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-unzip $CWD/xVST_${SRCVER}_src.zip
+unzip $CWD/xVST_${VERSION//\./_}_src.zip
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -56,7 +51,7 @@ find . \
# Change file from DOS to Unix, change path for plugins and language files
# and make translations.
sed -i 's/\r//g' "how to compile.txt"
-sed -i "s|getApplicationPath()\ +\ \"|\"/usr/share/${PRGNAM}|g" src/options.cpp
+sed -i "s|getApplicationPath()\ +\ \"|\"/usr/share/$PRGNAM|g" src/options.cpp
lrelease resources/translations/*.ts
rm -f resources/translations/template_for_new_translations.qm