desktop/qbittorrent/PKGBUILD
2015-12-01 12:10:39 +01:00

28 lines
947 B
Bash
Executable File

pkgname=qbittorrent
pkgver=3.3.0
pkgrel=1
pkgdesc="A bittorrent client written in C++ / Qt using the good libtorrent library"
arch=('x86_64')
url="http://www.qbittorrent.org/"
license=('GPL')
depends=('qt5-base' 'libtorrent-rasterbar>=1.0.6' 'xdg-utils' 'boost-libs' 'python3' 'geoip-database')
makedepends=('boost' 'geoip' 'qt5-tools')
categories=('network')
screenshot=('http://sourceforge.net/projects/qbittorrent/screenshots/242189.jpg')
install=qbittorrent.install
source=("https://github.com/qbittorrent/qBittorrent/archive/release-${pkgver}.tar.gz")
sha256sums=('24e77c94392dd88ecb39f82645d8611eb6a9b434ca20ae9683c573b802aaf921')
build() {
cd ${srcdir}/qBittorrent-release-${pkgver}
./configure --prefix=/usr \
--enable-systemd
make
}
package() {
cd ${srcdir}/qBittorrent-release-${pkgver}
make INSTALL_ROOT=${pkgdir} install
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/COPYING
}