diff --git a/network/qbittorrent/qbittorrent.SlackBuild b/network/qbittorrent/qbittorrent.SlackBuild index af777e815f..6f13030bff 100644 --- a/network/qbittorrent/qbittorrent.SlackBuild +++ b/network/qbittorrent/qbittorrent.SlackBuild @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=qbittorrent -VERSION=${VERSION:-2.2.10} +VERSION=${VERSION:-2.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -75,30 +75,18 @@ CXXFLAGS="$SLKCFLAGS" \ --qtdir=/usr/lib${LIBDIRSUFFIX}/qt4 make -mkdir -p $PKG/usr/bin -cp -a src/qbittorrent $PKG/usr/bin/ - -mkdir -p $PKG/usr/man/man1 -cp -a doc/qbittorrent.1 $PKG/usr/man/man1/ - -mkdir -p $PKG/usr/share/applications -cp -a src/Icons/qBittorrent.desktop $PKG/usr/share/applications/ - -for i in 16 22 24 32 36 48 64 72 96 128 192 ; do - mkdir -p $PKG/usr/share/icons/hicolor/${i}x${i}/apps - cp -a src/menuicons/${i}x${i}/apps/qbittorrent.png \ - $PKG/usr/share/icons/hicolor/${i}x${i}/apps ; -done +make install INSTALL_ROOT=$PKG find $PKG | xargs 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS Changelog NEWS TODO COPYING INSTALL README \ + AUTHORS Changelog NEWS README.os2 COPYING INSTALL README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/network/qbittorrent/qbittorrent.info b/network/qbittorrent/qbittorrent.info index cab4e32e37..93596403a6 100644 --- a/network/qbittorrent/qbittorrent.info +++ b/network/qbittorrent/qbittorrent.info @@ -1,10 +1,10 @@ PRGNAM="qbittorrent" -VERSION="2.2.10" +VERSION="2.4.0" HOMEPAGE="http://qbittorrent.sourceforge.net" -DOWNLOAD="http://downloads.sourceforge.net/sourceforge/qbittorrent/qbittorrent-2.2.10.tar.gz" -MD5SUM="ae74ca87dec74b2cbc7f117487aac503" +DOWNLOAD="http://downloads.sourceforge.net/sourceforge/qbittorrent/qbittorrent-2.4.0.tar.gz" +MD5SUM="ad54e357c4b010da4196afc663057b3c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="David Woodfall" EMAIL="dave@dawoodfall.net" -APPROVED="Erik Hanson" +APPROVED="dsomero"