2011-01-25 09:35:33 +08:00
|
|
|
pkgname=qbittorrent
|
2015-11-05 14:29:22 +08:00
|
|
|
pkgver=3.2.5
|
2015-10-17 09:32:33 +08:00
|
|
|
pkgrel=1
|
2015-05-10 16:41:44 +08:00
|
|
|
pkgdesc="A bittorrent client written in C++ / Qt using the good libtorrent library"
|
2013-01-20 01:06:26 +08:00
|
|
|
arch=('x86_64')
|
2011-01-25 09:35:33 +08:00
|
|
|
url="http://www.qbittorrent.org/"
|
|
|
|
license=('GPL')
|
2015-08-05 14:00:14 +08:00
|
|
|
depends=('qt5-base' 'libtorrent-rasterbar>=1.0.6' 'xdg-utils' 'boost-libs')
|
2015-08-05 13:52:05 +08:00
|
|
|
makedepends=('boost' 'geoip' 'qt5-tools')
|
2015-05-10 16:41:44 +08:00
|
|
|
optdepends=('python3: needed for search'
|
2011-01-25 09:35:33 +08:00
|
|
|
'geoip: improves peer country resolution')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('network')
|
2014-01-01 20:06:28 +08:00
|
|
|
screenshot=('http://sourceforge.net/projects/qbittorrent/screenshots/242189.jpg')
|
2011-01-25 09:35:33 +08:00
|
|
|
install=qbittorrent.install
|
2015-08-05 13:52:05 +08:00
|
|
|
source=("https://github.com/qbittorrent/qBittorrent/archive/release-${pkgver}.tar.gz")
|
2015-11-05 14:29:22 +08:00
|
|
|
md5sums=('14212d83f945c077bbcf505e89e7d3f7')
|
2011-01-25 09:35:33 +08:00
|
|
|
|
2015-10-17 09:32:33 +08:00
|
|
|
build() {
|
2015-08-05 13:52:05 +08:00
|
|
|
cd ${srcdir}/qBittorrent-release-${pkgver}
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--enable-systemd \
|
|
|
|
--with-qt5
|
2011-01-25 09:35:33 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2015-10-17 09:32:33 +08:00
|
|
|
package() {
|
2015-08-05 13:52:05 +08:00
|
|
|
cd ${srcdir}/qBittorrent-release-${pkgver}
|
2011-01-25 09:35:33 +08:00
|
|
|
make INSTALL_ROOT=${pkgdir} install
|
2014-09-28 20:32:21 +08:00
|
|
|
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/COPYING
|
2012-05-30 19:21:06 +08:00
|
|
|
}
|