From 997fc9bceeb8187343fe913ef87c857faf270477 Mon Sep 17 00:00:00 2001 From: David Woodfall Date: Mon, 19 Feb 2018 01:02:55 +0000 Subject: network/qbittorrent-qt5: Updated for version 4.0.4. Signed-off-by: David Spencer --- network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild | 21 +++++++++++++++++---- network/qbittorrent-qt5/qbittorrent-qt5.info | 6 +++--- 2 files changed, 20 insertions(+), 7 deletions(-) (limited to 'network/qbittorrent-qt5') diff --git a/network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild b/network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild index f0a0100a3f..c8d1681161 100644 --- a/network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild +++ b/network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=qbittorrent-qt5 SRCNAM=qbittorrent -VERSION=${VERSION:-3.3.15} +VERSION=${VERSION:-4.0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,7 +73,14 @@ find -L . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ - --prefix=/usr + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux make make install INSTALL_ROOT=$PKG @@ -83,7 +90,14 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ - --disable-gui + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-gui \ + --build=$ARCH-slackware-linux make mv src/qbittorrent-nox $PKG/usr/bin @@ -91,7 +105,6 @@ mv src/qbittorrent-nox $PKG/usr/bin 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 -mv $PKG/usr/share/man $PKG/usr find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done diff --git a/network/qbittorrent-qt5/qbittorrent-qt5.info b/network/qbittorrent-qt5/qbittorrent-qt5.info index 6bb62a2c10..1acbf5a6e7 100644 --- a/network/qbittorrent-qt5/qbittorrent-qt5.info +++ b/network/qbittorrent-qt5/qbittorrent-qt5.info @@ -1,8 +1,8 @@ PRGNAM="qbittorrent-qt5" -VERSION="3.3.15" +VERSION="4.0.4" HOMEPAGE="http://qbittorrent.sourceforge.net" -DOWNLOAD="http://downloads.sourceforge.net/qbittorrent/qbittorrent-3.3.15.tar.xz" -MD5SUM="759f498b146bf3afb1593157407897d4" +DOWNLOAD="https://sourceforge.net/projects/qbittorrent/files/qbittorrent/qbittorrent-4.0.4/qbittorrent-4.0.4.tar.gz" +MD5SUM="fcbe5363e3687ff1f49d7b8d2e54d8f0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libtorrent-rasterbar qt5" -- cgit v1.2.3-80-g2a13