aboutsummaryrefslogtreecommitdiff
path: root/audio/faad2/faad2.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2023-06-26 20:15:28 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-02 23:21:28 +0700
commitea90a207bc77b7e9a7e14b5e49c77e0bbf2e7579 (patch)
treed94cbde954c95e2f841c32f047559db1b5260eb9 /audio/faad2/faad2.SlackBuild
parent8fa92e4c2c57411cd1c8601249c6c46a15c188e8 (diff)
audio/faad2: Updated for version 2.10.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/faad2/faad2.SlackBuild')
-rw-r--r--audio/faad2/faad2.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/audio/faad2/faad2.SlackBuild b/audio/faad2/faad2.SlackBuild
index d470b5e9d1114..f40bb0d635e08 100644
--- a/audio/faad2/faad2.SlackBuild
+++ b/audio/faad2/faad2.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for faad2
# Copyright 2007 Niklas "Nille" Åkerström
-# Copyright (c) 2020-2022, Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright (c) 2020-2023, Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,13 +26,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=faad2
-VERSION=${VERSION:-2.10.0}
+VERSION=${VERSION:-2.10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCVER=${VERSION//./_}
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -72,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
-cd $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \