diff options
Diffstat (limited to 'audio/fluidsynth-dssi/fluidsynth-dssi.SlackBuild')
-rw-r--r-- | audio/fluidsynth-dssi/fluidsynth-dssi.SlackBuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/audio/fluidsynth-dssi/fluidsynth-dssi.SlackBuild b/audio/fluidsynth-dssi/fluidsynth-dssi.SlackBuild index e21673dc6d..d5bf6b716f 100644 --- a/audio/fluidsynth-dssi/fluidsynth-dssi.SlackBuild +++ b/audio/fluidsynth-dssi/fluidsynth-dssi.SlackBuild @@ -7,7 +7,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. PRGNAM=fluidsynth-dssi -VERSION=${VERSION:-1.0.0} +VERSION=${VERSION:-1.0.0+20190112_c9b4107} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -44,14 +44,13 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.[gx]z cd $PRGNAM-$VERSION 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 \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ + +[ -e configure ] || sh autogen.sh CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -68,9 +67,7 @@ make make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - COPYING ChangeLog README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |