summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/SAM/SAM.SlackBuild26
-rw-r--r--audio/SAM/SAM.info6
2 files changed, 18 insertions, 14 deletions
diff --git a/audio/SAM/SAM.SlackBuild b/audio/SAM/SAM.SlackBuild
index 344714068b..b91b12b2da 100644
--- a/audio/SAM/SAM.SlackBuild
+++ b/audio/SAM/SAM.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for SAM
-# Copyright 2013-2015 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2013-2016 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=SAM
-VERSION=${VERSION:-20141230_5a63e72}
+VERSION=${VERSION:-20160807_fc56501}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -63,11 +63,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+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 {} \;
# Use our CFLAGS
sed -i "s|-O2|$SLKCFLAGS|" Makefile
@@ -82,7 +82,11 @@ cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# copy dos demo files converting line endings
mkdir $PKG/usr/doc/$PRGNAM-$VERSION/demos
-for i in demos/*; do tr -d '\015' < $i > $PKG/usr/doc/$PRGNAM-$VERSION/$i ; done
+cd demos
+ find . -type f -print0 | while IFS= read -r -d '' file; do
+ tr -d '\015' < "$file" > $PKG/usr/doc/$PRGNAM-$VERSION/demos/"$file"
+ done
+cd -
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/audio/SAM/SAM.info b/audio/SAM/SAM.info
index 7dfb02218f..9715646894 100644
--- a/audio/SAM/SAM.info
+++ b/audio/SAM/SAM.info
@@ -1,8 +1,8 @@
PRGNAM="SAM"
-VERSION="20141230_5a63e72"
+VERSION="20160807_fc56501"
HOMEPAGE="https://github.com/s-macke/SAM"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/SAM-20141230_5a63e72.tar.xz"
-MD5SUM="8a7b2902c0c383404dc300c375965a0f"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/SAM-20160807_fc56501.tar.xz"
+MD5SUM="47c7bc9d2ae4fa90441a79d1ad641def"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""