summaryrefslogtreecommitdiff
path: root/graphics/aeskulap/aeskulap.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-03-26 22:24:27 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-03-26 22:24:27 -0500
commitbc505523e6d737484521cc99049137330e9f4347 (patch)
treee900e624febf780ae7dac695937dae4a93c77b49 /graphics/aeskulap/aeskulap.SlackBuild
parent2c2d9d1a26fc18e729fd2eda474ee92ea0d00de0 (diff)
downloadslackbuilds-bc505523e6d737484521cc99049137330e9f4347.tar.gz
graphics/aeskulap: Fixed VERSION strings (s,-,_,g)
Thanks to B. Watson for the report. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/aeskulap/aeskulap.SlackBuild')
-rw-r--r--graphics/aeskulap/aeskulap.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/graphics/aeskulap/aeskulap.SlackBuild b/graphics/aeskulap/aeskulap.SlackBuild
index d14cc9eaf5..aa2436ab27 100644
--- a/graphics/aeskulap/aeskulap.SlackBuild
+++ b/graphics/aeskulap/aeskulap.SlackBuild
@@ -23,10 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=aeskulap
-VERSION=0.2.2-beta1
+VERSION=0.2.2_beta1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVER=$(printf $VERSION | tr _ -)
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -59,9 +61,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \