mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
audio/fdk-aac: Script cleanup
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
8419ad7ca9
commit
198fe8999a
2 changed files with 9 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue