mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
audio/libfreeaptx: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
386b310ab3
commit
ca28f75848
1 changed files with 7 additions and 8 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for libfreeaptx
|
||||
|
||||
# Copyright 2023 thnkman
|
||||
# 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=libfreeaptx
|
||||
VERSION=${VERSION:-0.1.1}
|
||||
BUILD=${BUILD:-1}
|
||||
|
@ -61,8 +63,6 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
|
@ -92,12 +92,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
|
||||
cp COPYING README $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 COPYING 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
|
||||
|
|
Loading…
Reference in a new issue