diff options
author | David Woodfall <dave@dawoodfall.net> | 2018-02-19 01:02:55 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-02-19 01:02:55 +0000 |
commit | 997fc9bceeb8187343fe913ef87c857faf270477 (patch) | |
tree | 178cb36ca840cff4a0b7a1d3d1e4a33f0445ea21 /network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild | |
parent | c56acbfa8edd4e9fb8bbf5d32ea2ba4fa4784b05 (diff) | |
download | slackbuilds-997fc9bceeb8187343fe913ef87c857faf270477.tar.gz |
network/qbittorrent-qt5: Updated for version 4.0.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild')
-rw-r--r-- | network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild | 21 |
1 files changed, 17 insertions, 4 deletions
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 |