summaryrefslogtreecommitdiff
path: root/audio/freac/freac.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2019-05-04 01:03:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-05-04 01:03:05 +0700
commit2fbf5302c04f3b5a065b41d71822ea7b9fe6d6f8 (patch)
tree00c4f7428d8a81e7c333a4b2d6f93229b7d8fbd5 /audio/freac/freac.SlackBuild
parent570782f5c83d9badd57113c2b9f3989ab5c8f4f2 (diff)
downloadslackbuilds-2fbf5302c04f3b5a065b41d71822ea7b9fe6d6f8.tar.gz
audio/freac: Updated for version 20190423.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/freac/freac.SlackBuild')
-rw-r--r--audio/freac/freac.SlackBuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/audio/freac/freac.SlackBuild b/audio/freac/freac.SlackBuild
index e7238f3177..bc3d8d7ae0 100644
--- a/audio/freac/freac.SlackBuild
+++ b/audio/freac/freac.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for freac.
#
-# Copyright 2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2017-2019 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=freac
-VERSION=${VERSION:-20170729}
+VERSION=${VERSION:-20190423}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,20 +54,24 @@ else
LIBDIRSUFFIX=""
fi
+SRCVER=${SRCVER:-1.1-alpha-20190423}
+
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER-linux*
+
if [ "$ARCH" = "x86_64" ]; then
- tar xvf $CWD/$PRGNAM-$VERSION-linux-x64.tar.gz
+ tar xvf $CWD/$PRGNAM-$SRCVER-linux-x64.tar.gz
+ cd $PRGNAM-$SRCVER-linux-x64
else
- tar xvf $CWD/$PRGNAM-$VERSION-linux.tar.gz
+ tar xvf $CWD/$PRGNAM-$SRCVER-linux.tar.gz
+ cd $PRGNAM-$SRCVER-linux
fi
-cd $PRGNAM-$VERSION-linux
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \