aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"