diff options
author | David Woodfall <dave@dawoodfall.net> | 2010-09-09 08:59:20 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2010-09-09 08:59:20 -0400 |
commit | 416f721c2138d18292f140bb881a898e78f3c06d (patch) | |
tree | fa9276b91156fb23382c5d118096ef59a1e7d6ac /network/qbittorrent/qbittorrent.SlackBuild | |
parent | b8f1c97d34013a8ec0884bf915bad125327ea2f1 (diff) | |
download | slackbuilds-416f721c2138d18292f140bb881a898e78f3c06d.tar.gz |
network/qbittorrent: Updated for version 2.4.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/qbittorrent/qbittorrent.SlackBuild')
-rw-r--r-- | network/qbittorrent/qbittorrent.SlackBuild | 20 |
1 files changed, 4 insertions, 16 deletions
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 |