diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2016-06-21 17:03:13 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-06-25 08:54:45 +0700 |
commit | aeed5f9d97a2702f2f3a959d196e6c81310a1c32 (patch) | |
tree | 8118c36568472c82c1cd4062140484f34c902bd0 /network/qupzilla/qupzilla.SlackBuild | |
parent | 8aa2eb1876d85c7216f8dafe49f075d2b258c792 (diff) | |
download | slackbuilds-aeed5f9d97a2702f2f3a959d196e6c81310a1c32.tar.gz |
network/qupzilla: Updated for version 2.0.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 |