audio/amSynth: Updated for version 1.6.3.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-01-04 00:00:32 +07:00
parent 641fb64653
commit b2e54385d0
2 changed files with 13 additions and 13 deletions

View File

@ -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

View File

@ -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"