desktop/qbittorrent/PKGBUILD
2016-03-30 23:06:34 +02:00

28 lines
947 B
Bash
Executable File

pkgname=qbittorrent
pkgver=3.3.4
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=('c822e938e36fc5956476f9a8f52beecf35d65df2ba502c671fa3e90f7d0be81f')
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
}