summaryrefslogtreecommitdiff
path: root/audio/soundkonverter/soundkonverter.SlackBuild
diff options
context:
space:
mode:
authorDonald Cooley <chytraeu@sdf.org>2017-01-26 13:17:57 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-28 07:38:07 +0700
commitad22ef46f496b8d609696ffbb1159435fc3fb16d (patch)
tree737ab3e652861fd877982608a72da931640ae91b /audio/soundkonverter/soundkonverter.SlackBuild
parent166d896900eb5f9c4e93da62eead71dfef274ea8 (diff)
downloadslackbuilds-ad22ef46f496b8d609696ffbb1159435fc3fb16d.tar.gz
audio/soundkonverter: Updated for version 2.2.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'audio/soundkonverter/soundkonverter.SlackBuild')
-rw-r--r--audio/soundkonverter/soundkonverter.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/audio/soundkonverter/soundkonverter.SlackBuild b/audio/soundkonverter/soundkonverter.SlackBuild
index e1bbb0b3f6..6c10dad413 100644
--- a/audio/soundkonverter/soundkonverter.SlackBuild
+++ b/audio/soundkonverter/soundkonverter.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for soundkonverter
# Copyright 2013 Roberto Neri, Palermo, Italy
+# Copyright 2017 Donald Cooley South Haven, Indiana USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,16 +23,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Updated and maintained by Donald Cooley La Porte, IN USA
PRGNAM=soundkonverter
-VERSION=${VERSION:-2.2.0}
+VERSION=${VERSION:-2.2.2}
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
@@ -42,8 +42,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"
@@ -62,7 +62,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -92,7 +92,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG INSTALL README \
+cp -a \
+ CHANGELOG COPYING INSTALL README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild