2011-01-25 09:35:33 +08:00
|
|
|
pkgname=qbittorrent
|
2015-08-05 13:52:05 +08:00
|
|
|
pkgver=3.2.3
|
2015-06-01 18:02:49 +08:00
|
|
|
pkgrel=2
|
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")
|
|
|
|
md5sums=('c7caccdd8d124b9b970b8f21b44aa1bc')
|
2011-01-25 09:35:33 +08:00
|
|
|
|
2012-05-30 19:21:06 +08:00
|
|
|
build()
|
2011-01-25 09:35:33 +08:00
|
|
|
{
|
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
|
|
|
|
}
|
|
|
|
|
2012-05-30 19:21:06 +08:00
|
|
|
package()
|
2011-01-25 09:35:33 +08:00
|
|
|
{
|
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
|
|
|
}
|