aboutsummaryrefslogtreecommitdiff
path: root/audio/aacplusenc/aacplusenc.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-07 13:42:02 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-09 15:45:07 +0700
commitf57ad7d3b00710eec800daa580fbf2b49cccd9ab (patch)
tree9fbd08221424b7b459f8d576cdb0a960a9e8a118 /audio/aacplusenc/aacplusenc.SlackBuild
parentc9052353a9d9a79dbfa96aa84d9869837b5b6cc7 (diff)
audio/aacplusenc: Fix docs.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/aacplusenc/aacplusenc.SlackBuild')
-rw-r--r--audio/aacplusenc/aacplusenc.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/audio/aacplusenc/aacplusenc.SlackBuild b/audio/aacplusenc/aacplusenc.SlackBuild
index 5d60ed06bb5c..e6ba93a06a7c 100644
--- a/audio/aacplusenc/aacplusenc.SlackBuild
+++ b/audio/aacplusenc/aacplusenc.SlackBuild
@@ -24,6 +24,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220407 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - install the SlackBuild in the doc dir *with the correct name*!
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=aacplusenc
@@ -40,9 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -77,9 +77,9 @@ cd $PRGNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -99,7 +99,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYRIGHT debian/changelog $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-SlackBuild
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc