diff options
Diffstat (limited to 'network/qupzilla/qupzilla.SlackBuild')
-rw-r--r-- | network/qupzilla/qupzilla.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/network/qupzilla/qupzilla.SlackBuild b/network/qupzilla/qupzilla.SlackBuild index 167e1ebb4d..cc51abdc0c 100644 --- a/network/qupzilla/qupzilla.SlackBuild +++ b/network/qupzilla/qupzilla.SlackBuild @@ -23,7 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=qupzilla -VERSION=${VERSION:-1.8.6} +SRCNAM=QupZilla +VERSION=${VERSION:-2.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,9 +60,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/v$VERSION.tar.?z* || tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z* +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -70,7 +71,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; export USE_LIBPATH="/usr/lib${LIBDIRSUFFIX}" -qmake QMAKE_CXXFLAGS="$SLKCFLAGS" +qmake-qt5 QMAKE_CXXFLAGS="$SLKCFLAGS" make make install INSTALL_ROOT=$PKG @@ -78,7 +79,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS BUILDING CHANGELOG COPYRIGHT FAQ GPLv3 README.md \ +cp -a AUTHORS BUILDING.md CHANGELOG COPYRIGHT FAQ GPLv3 README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |