aboutsummaryrefslogtreecommitdiff
path: root/graphics/aeskulap/aeskulap.SlackBuild
diff options
context:
space:
mode:
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 d14cc9eaf586..aa2436ab277c 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 \) \