diff options
Diffstat (limited to 'audio/spandsp/spandsp.SlackBuild')
-rw-r--r-- | audio/spandsp/spandsp.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/audio/spandsp/spandsp.SlackBuild b/audio/spandsp/spandsp.SlackBuild index f044b061de4a4..fff5c41b59712 100644 --- a/audio/spandsp/spandsp.SlackBuild +++ b/audio/spandsp/spandsp.SlackBuild @@ -58,12 +58,16 @@ fi set -eu rm -rf $PKG -mkdir -p $TMP $PKG +mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION$SUBVERSION.tar.gz chown -R root:root $PRGNAM-$VERSION -chmod -R u+w,go+r-w,a-s $PRGNAM-$VERSION +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 $PRGNAM-$VERSION CXXFLAGS="$SLKCFLAGS" \ @@ -78,8 +82,7 @@ make make install DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING ChangeLog DueDiligence INSTALL NEWS README README.testdata \ +cp -a AUTHORS COPYING ChangeLog DueDiligence INSTALL NEWS README README.testdata \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |