diff options
-rw-r--r-- | development/bashdb/bashdb.SlackBuild | 12 | ||||
-rw-r--r-- | development/bashdb/bashdb.info | 2 |
2 files changed, 8 insertions, 6 deletions
diff --git a/development/bashdb/bashdb.SlackBuild b/development/bashdb/bashdb.SlackBuild index 00b9fd2b11f9..7e2296117551 100644 --- a/development/bashdb/bashdb.SlackBuild +++ b/development/bashdb/bashdb.SlackBuild @@ -27,11 +27,13 @@ # readarray speeds up initial loading of large scripts. PRGNAM=bashdb -VERSION=4.0-0.4 +VERSION=4.0_0.4 ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +SRCVER=$(printf $VERSION | tr _ -) + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -42,9 +44,9 @@ set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$SRCVER +tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2 +cd $PRGNAM-$SRCVER chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -73,4 +75,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION/-/_}-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/bashdb/bashdb.info b/development/bashdb/bashdb.info index d16619332635..107f96a4a9ab 100644 --- a/development/bashdb/bashdb.info +++ b/development/bashdb/bashdb.info @@ -1,5 +1,5 @@ PRGNAM="bashdb" -VERSION="4.0-0.4" +VERSION="4.0_0.4" HOMEPAGE="http://bashdb.sourceforge.net/" DOWNLOAD="http://downloads.sourceforge.net/bashdb/bashdb-4.0-0.4.tar.bz2" MD5SUM="eb411b64d27ccbd0093789e9e945a589" |