summaryrefslogtreecommitdiff
path: root/audio/aacgain
diff options
context:
space:
mode:
Diffstat (limited to 'audio/aacgain')
-rw-r--r--audio/aacgain/aacgain.SlackBuild24
1 files changed, 20 insertions, 4 deletions
diff --git a/audio/aacgain/aacgain.SlackBuild b/audio/aacgain/aacgain.SlackBuild
index 3764fb457d..ebcaebb60c 100644
--- a/audio/aacgain/aacgain.SlackBuild
+++ b/audio/aacgain/aacgain.SlackBuild
@@ -69,7 +69,11 @@ mkdir -p mp3gain
cd mp3gain
unzip $CWD/mp3gain-1_5_2-src.zip
chown -R root:root .
- chmod -R u+w,go+r-w,a-s .
+ find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -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 {} \;
cd -
#unpack faad2
@@ -78,7 +82,11 @@ tar xvf $CWD/faad2-2.7.tar.bz2
mv faad2-2.7 faad2
cd faad2
chown -R root:root .
- chmod -R u+w,go+r-w,a-s .
+ find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -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 {} \;
cd -
#unpack mp4v2
@@ -87,7 +95,11 @@ tar xvf $CWD/mp4v2-trunk-r355.tar.bz2
mv mp4v2-trunk-r355 mp4v2
cd mp4v2
chown -R root:root .
- chmod -R u+w,go+r-w,a-s .
+ find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -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 {} \;
cd -
#unpack aacgain
@@ -95,7 +107,11 @@ rm -rf $PRGNAM
tar xvf $CWD/${PRGNAM}_1_9.tar.bz2
cd $PRGNAM
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -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 {} \;
# The new patch program forces us to change a little how patches are applied
cd ../mp3gain