diff options
-rw-r--r-- | audio/amSynth/amSynth.SlackBuild | 18 | ||||
-rw-r--r-- | audio/amSynth/amSynth.info | 8 |
2 files changed, 13 insertions, 13 deletions
diff --git a/audio/amSynth/amSynth.SlackBuild b/audio/amSynth/amSynth.SlackBuild index c321cd3ef3..7bb1520260 100644 --- a/audio/amSynth/amSynth.SlackBuild +++ b/audio/amSynth/amSynth.SlackBuild @@ -25,7 +25,8 @@ # Modified by the SlackBuilds.org project PRGNAM=amSynth -VERSION=1.3.2 +SRCNAM=amsynth +VERSION=${VERSION:-1.6.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,19 +62,19 @@ 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 $SRCNAM-release-$VERSION +tar xvf $CWD/release-$VERSION.tar.gz || tar xvf $CWD/$SRCNAM-release-$VERSION.tar.gz +cd $SRCNAM-release-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -autoreconf --force --install +./autogen.sh CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS -std=c++11" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -86,8 +87,7 @@ make make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/audio/amSynth/amSynth.info b/audio/amSynth/amSynth.info index 63a4006d32..63e99bace1 100644 --- a/audio/amSynth/amSynth.info +++ b/audio/amSynth/amSynth.info @@ -1,8 +1,8 @@ PRGNAM="amSynth" -VERSION="1.3.2" -HOMEPAGE="http://code.google.com/p/amsynth/" -DOWNLOAD="http://amsynth.googlecode.com/files/amSynth-1.3.2.tar.gz" -MD5SUM="991329e433bb8c496f9ca5158faf0bca" +VERSION="1.6.3" +HOMEPAGE="https://github.com/amsynth/amsynth/" +DOWNLOAD="https://github.com/amsynth/amsynth/archive/release-1.6.3.tar.gz" +MD5SUM="8d172ebd8a767fbb20d56931f259f846" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gtkmm" |