diff options
Diffstat (limited to 'office/texmaker/texmaker.SlackBuild')
-rw-r--r-- | office/texmaker/texmaker.SlackBuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/office/texmaker/texmaker.SlackBuild b/office/texmaker/texmaker.SlackBuild index b1a6509b1f..c305ba5d1e 100644 --- a/office/texmaker/texmaker.SlackBuild +++ b/office/texmaker/texmaker.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=texmaker VERSION=${VERSION:-4.4.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -64,10 +64,13 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 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 {} \; + \( -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 {} \; + +# Fix for qt >= 5.5. +patch -p1 < $CWD/qt-5.5.x.patch # Check for Qt5 or else drop back to Qt4. if [ "${QT5GUI:-no}" == "yes" ]; then @@ -81,7 +84,7 @@ fi make make install INSTALL_ROOT=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true install -D -m 0644 utilities/$PRGNAM.1 $PKG/usr/man/man1/$PRGNAM.1 |