aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorthnkman <thnkman@proton.me>2024-01-02 14:33:06 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-02 22:43:19 +0700
commit198fe8999ac16cce3a655b76ca03b021e05b316e (patch)
tree778759554fd2f6b83a3b7b5505782279dbae5da1 /audio
parent8419ad7ca94ad1094849f8df0dd68276be7ef60d (diff)
audio/fdk-aac: Script cleanup
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/fdk-aac/fdk-aac.SlackBuild15
-rw-r--r--audio/fdk-aac/fdk-aac.info2
2 files changed, 9 insertions, 8 deletions
diff --git a/audio/fdk-aac/fdk-aac.SlackBuild b/audio/fdk-aac/fdk-aac.SlackBuild
index bae21b22f9b82..341ee858fb85a 100644
--- a/audio/fdk-aac/fdk-aac.SlackBuild
+++ b/audio/fdk-aac/fdk-aac.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fdk-aac
-# Copyright 2023 thnkman thnkman@proton.me
+# Copyright 2023 thnkman <thnkman@proton.me>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,6 +24,8 @@
cd $(dirname $0) ; CWD=$(pwd)
+set -e
+
PRGNAM=fdk-aac
VERSION=${VERSION:-2.0.3}
BUILD=${BUILD:-1}
@@ -61,14 +63,13 @@ else
LIBDIRSUFFIX=""
fi
-set -e
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
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 \
@@ -90,11 +91,11 @@ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mkdir -p $PKG/{install,usr/doc/$PRGNAM-$VERSION}
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
+install -D -m 0644 NOTICE $CWD/README $CWD/$PRGNAM.SlackBuild \
+ $PKG/usr/doc/$PRGNAM-$VERSION/
+install -D -m 0644 $CWD/slack-desc $PKG/install/
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/audio/fdk-aac/fdk-aac.info b/audio/fdk-aac/fdk-aac.info
index 527ed9a786cfd..95b951d55bf6d 100644
--- a/audio/fdk-aac/fdk-aac.info
+++ b/audio/fdk-aac/fdk-aac.info
@@ -1,7 +1,7 @@
PRGNAM="fdk-aac"
VERSION="2.0.3"
HOMEPAGE="https://github.com/mstorsjo/fdk-aac"
-DOWNLOAD="https://github.com/mstorsjo/fdk-aac/archive/refs/tags/v2.0.3.tar.gz"
+DOWNLOAD="https://github.com/mstorsjo/fdk-aac/archive/v2.0.3/fdk-aac-2.0.3.tar.gz"
MD5SUM="fbaf688a6fd6ddf63c68566909a178b4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""