summaryrefslogtreecommitdiff
path: root/audio/snd
diff options
context:
space:
mode:
authorArthur W. Green <awg@posteo.us>2016-08-25 10:13:07 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2016-08-28 00:22:59 +0100
commit83f2934b5da141e89a6047c08fef9d36a6cf8711 (patch)
tree816b5945280439efffdc14a0d9ea5eb4213da8a2 /audio/snd
parentab52905a5256d6762f4f5e4c35726882f91bd96b (diff)
downloadslackbuilds-83f2934b5da141e89a6047c08fef9d36a6cf8711.tar.gz
audio/snd: Updated for version 16.7.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'audio/snd')
-rw-r--r--audio/snd/README2
-rw-r--r--audio/snd/slack-desc2
-rw-r--r--audio/snd/snd.SlackBuild21
-rw-r--r--audio/snd/snd.info8
4 files changed, 21 insertions, 12 deletions
diff --git a/audio/snd/README b/audio/snd/README
index a1a4084ad5..04069131a6 100644
--- a/audio/snd/README
+++ b/audio/snd/README
@@ -10,3 +10,5 @@ these dependencies can now be the preferred defaults for Snd.
OpenGL rendering of spectrograms under Motif can also enabled by
passing "--with-gl" to configure in snd.SlackBuild.
+
+https://ccrma.stanford.edu/software/snd/
diff --git a/audio/snd/slack-desc b/audio/snd/slack-desc
index daf34dd10d..2cc8540813 100644
--- a/audio/snd/slack-desc
+++ b/audio/snd/slack-desc
@@ -15,3 +15,5 @@ snd: be run sans GUI as a scripting engine, and more.
snd:
snd: https://ccrma.stanford.edu/software/snd/
snd:
+snd:
+snd:
diff --git a/audio/snd/snd.SlackBuild b/audio/snd/snd.SlackBuild
index a7dd8eee35..d74d7a9009 100644
--- a/audio/snd/snd.SlackBuild
+++ b/audio/snd/snd.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
-# SlackBuild for Snd, 15 June 2016
-# Arthur W. Green <lynx@panix.com>
+# SlackBuild for Snd, 22 August 2016
+# Arthur W. Green <awg@posteo.us>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification,
@@ -26,13 +26,13 @@
## in the Snd source distribution for more on this.
PRGNAM=snd
-VERSION=${VERSION:-16.6}
+VERSION=${VERSION:-16.7}
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
@@ -43,8 +43,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"
@@ -66,7 +66,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . -exec chmod -R u+w,go-w,a+rX-st {} \;
+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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -93,12 +97,13 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+# documentation.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION/pix
cp -a COPYING README.Snd *.html $PKG/usr/doc/$PRGNAM-$VERSION
cp -a pix/*.png $PKG/usr/doc/$PRGNAM-$VERSION/pix
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# emacs support.
+# emacs mode.
install -D -m 0644 inf-snd.el $PKG/usr/share/emacs/site-lisp/inf-snd.el
# desktop file and menu icon.
install -D -m 0644 $CWD/snd.desktop $PKG/usr/share/applications/snd.desktop
diff --git a/audio/snd/snd.info b/audio/snd/snd.info
index d2a95b52e4..8b95c2036d 100644
--- a/audio/snd/snd.info
+++ b/audio/snd/snd.info
@@ -1,10 +1,10 @@
PRGNAM="snd"
-VERSION="16.6"
+VERSION="16.7"
HOMEPAGE="https://ccrma.stanford.edu/software/snd/"
-DOWNLOAD="ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-16.6.tar.gz"
-MD5SUM="97c0f458b8bd7e5ab927a073eac43e55"
+DOWNLOAD="ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-16.7.tar.gz"
+MD5SUM="0c2afc3fa0962f8866c05948daff55a6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Arthur W. Green"
-EMAIL="lynx@panix.com"
+EMAIL="awg@posteo.us"