summaryrefslogtreecommitdiff
path: root/network/qupzilla
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2016-06-21 17:03:13 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-25 08:54:45 +0700
commitaeed5f9d97a2702f2f3a959d196e6c81310a1c32 (patch)
tree8118c36568472c82c1cd4062140484f34c902bd0 /network/qupzilla
parent8aa2eb1876d85c7216f8dafe49f075d2b258c792 (diff)
downloadslackbuilds-aeed5f9d97a2702f2f3a959d196e6c81310a1c32.tar.gz
network/qupzilla: Updated for version 2.0.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/qupzilla')
-rw-r--r--network/qupzilla/qupzilla.SlackBuild13
-rw-r--r--network/qupzilla/qupzilla.info8
2 files changed, 11 insertions, 10 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
diff --git a/network/qupzilla/qupzilla.info b/network/qupzilla/qupzilla.info
index 3560e96552..a0f3159221 100644
--- a/network/qupzilla/qupzilla.info
+++ b/network/qupzilla/qupzilla.info
@@ -1,10 +1,10 @@
PRGNAM="qupzilla"
-VERSION="1.8.6"
+VERSION="2.0.1"
HOMEPAGE="http://www.qupzilla.com"
-DOWNLOAD="https://github.com/QupZilla/qupzilla/archive/v1.8.6.tar.gz"
-MD5SUM="24c4033cbf20223eb73a33af9c037862"
+DOWNLOAD="https://github.com/QupZilla/qupzilla/releases/download/v2.0.1/QupZilla-2.0.1.tar.xz"
+MD5SUM="953c057afd9c4e9fec898a5af879249b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt5"
MAINTAINER="Fridrich von Stauffenberg"
EMAIL="cancellor2@gmail.com"