diff options
Diffstat (limited to 'misc/biosdisk/biosdisk.SlackBuild')
-rw-r--r-- | misc/biosdisk/biosdisk.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/misc/biosdisk/biosdisk.SlackBuild b/misc/biosdisk/biosdisk.SlackBuild index a67b008b8367b..b98f98fcc64f3 100644 --- a/misc/biosdisk/biosdisk.SlackBuild +++ b/misc/biosdisk/biosdisk.SlackBuild @@ -3,12 +3,13 @@ # Written by Michales Michaloudes korgie@gmail.com PRGNAM=biosdisk -VERSION=0.75 +VERSION=0.75_2 ARCH=noarch BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -SRC_VERSION=${VERSION}-2 +SRC_VERSION=$(echo $VERSION | tr _ -) +VERSDIR=$(echo $VERSION | sed 's/_.*//') CWD=$(pwd) TMP=${TMP:-/tmp/SBo} @@ -20,9 +21,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf $PRGNAM-$VERSDIR tar xvf $CWD/$PRGNAM-$SRC_VERSION.tar.gz -cd $PRGNAM-$VERSION +cd $PRGNAM-$VERSDIR chown -R root:root . chmod -R u+w,go+r-w,a-s . |