aboutsummaryrefslogtreecommitdiff
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
parent2c2d9d1a26fc18e729fd2eda474ee92ea0d00de0 (diff)
graphics/aeskulap: Fixed VERSION strings (s,-,_,g)
Thanks to B. Watson for the report. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--graphics/aeskulap/aeskulap.SlackBuild10
-rw-r--r--graphics/aeskulap/aeskulap.info2
2 files changed, 7 insertions, 5 deletions
diff --git a/graphics/aeskulap/aeskulap.SlackBuild b/graphics/aeskulap/aeskulap.SlackBuild
index d14cc9eaf5865..aa2436ab277cf 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 \) \
diff --git a/graphics/aeskulap/aeskulap.info b/graphics/aeskulap/aeskulap.info
index 36c4511389df7..99a6605a1b280 100644
--- a/graphics/aeskulap/aeskulap.info
+++ b/graphics/aeskulap/aeskulap.info
@@ -1,5 +1,5 @@
PRGNAM="aeskulap"
-VERSION="0.2.2-beta1"
+VERSION="0.2.2_beta1"
HOMEPAGE="http://aeskulap.nongnu.org/"
DOWNLOAD="http://www.bms-austria.com/%7Epipelka/aeskulap/aeskulap-0.2.2-beta1.tar.gz"
MD5SUM="33a0f8659909426c67bebc10bd61b1d0"