network/qbittorrent: Updated for version 2.4.0.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
David Woodfall 2010-09-09 08:59:20 -04:00 committed by dsomero
parent b8f1c97d34
commit 416f721c21
2 changed files with 8 additions and 20 deletions

View File

@ -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

View File

@ -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"