diff options
Diffstat (limited to 'misc/subsurface/subsurface.SlackBuild')
-rw-r--r-- | misc/subsurface/subsurface.SlackBuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/misc/subsurface/subsurface.SlackBuild b/misc/subsurface/subsurface.SlackBuild index 6f878dc1a6938..bf8ba265f0165 100644 --- a/misc/subsurface/subsurface.SlackBuild +++ b/misc/subsurface/subsurface.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=subsurface SRCNAM=Subsurface -VERSION=${VERSION:-4.0.3} +VERSION=${VERSION:-4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,15 +65,13 @@ tar xvf $CWD/$SRCNAM-$VERSION.tgz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ + \( -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Fix man page directory. -sed -i '/^MANDIR/s|=.*|= /usr/man/man1\$\${nl}|' $PRGNAM-install.pri -# Fix version number. -sed -i "s|4.0.1|$VERSION|" Documentation/user-manual.* +sed -i '/MANDIR =/s|=.*|= /usr/man/man1|' $PRGNAM-install.pri qmake PREFX="/usr" QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS" \ V=1 -config release -o Makefile $PRGNAM.pro @@ -87,8 +85,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - gpl-2.0.txt INSTALL README ReleaseNotes.txt SupportedDivecomputers.* \ +cp -a gpl-2.0.txt INSTALL README ReleaseNotes.txt SupportedDivecomputers.* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |