aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfluidsynth/fluidsynth.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/fluidsynth/fluidsynth.SlackBuild b/fluidsynth/fluidsynth.SlackBuild
index 74eccd0c..03685148 100755
--- a/fluidsynth/fluidsynth.SlackBuild
+++ b/fluidsynth/fluidsynth.SlackBuild
@@ -29,7 +29,7 @@ fi
# default settings
PACKAGE="fluidsynth"
ARCH=${ARCH:=i486}
-VERSION=${VERSION:=1.0.7}
+VERSION=${VERSION:=1.0.7a}
BUILD=${BUILD:=1rha}
SRC_DIR=${SRC:=$CWD}
TMP=${TMP:=/tmp}
@@ -65,7 +65,12 @@ mkdir -p $TMP
cd $TMP
tar xvf $SRC_DIR/$SRC || exit $ERROR_TAR
-cd $PACKAGE-$VERSION
+
+if [ "$VERSION" == "1.0.7a" ]; then
+ cd $PACKAGE-1.0.7
+else
+ cd $PACKAGE-$VERSION
+fi
if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then
patch -p1 < $CWD/$PACKAGE-$VERSION.diff