aboutsummaryrefslogtreecommitdiff
path: root/network/qbittorrent
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2010-09-09 08:59:20 -0400
committerdsomero <xgizzmo@slackbuilds.org>2010-09-09 08:59:20 -0400
commit416f721c2138d18292f140bb881a898e78f3c06d (patch)
treefa9276b91156fb23382c5d118096ef59a1e7d6ac /network/qbittorrent
parentb8f1c97d34013a8ec0884bf915bad125327ea2f1 (diff)
network/qbittorrent: Updated for version 2.4.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/qbittorrent')
-rw-r--r--network/qbittorrent/qbittorrent.SlackBuild20
-rw-r--r--network/qbittorrent/qbittorrent.info8
2 files changed, 8 insertions, 20 deletions
diff --git a/network/qbittorrent/qbittorrent.SlackBuild b/network/qbittorrent/qbittorrent.SlackBuild
index af777e815f47..6f13030bff0e 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 cab4e32e370c..93596403a6ae 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"