]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
fluidsynth: changed version to 1.0.7a
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Mon, 16 Oct 2006 13:36:31 +0000 (13:36 +0000)
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Mon, 16 Oct 2006 13:36:31 +0000 (13:36 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@396 370017ae-e619-0410-ac65-c121f96126d4

fluidsynth/fluidsynth.SlackBuild

index 74eccd0cee451d497b0123f79ba3642ca51edaf0..036851483aa33f60de0311b0817924d0270b33ae 100755 (executable)
@@ -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