desktop/qbittorrent/PKGBUILD
2015-05-10 08:41:44 +00:00

33 lines
1019 B
Bash
Executable File

pkgname=qbittorrent
pkgver=3.2.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' 'xdg-utils' 'boost-libs')
makedepends=('boost' 'geoip' 'qt5-tools')
optdepends=('python3: needed for search'
'geoip: improves peer country resolution')
categories=('network')
screenshot=('http://sourceforge.net/projects/qbittorrent/screenshots/242189.jpg')
install=qbittorrent.install
source=("http://sourceforge.net/projects/qbittorrent/files/qbittorrent/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz")
md5sums=('55a582d86db0db9734aee446b8daa267')
build()
{
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--enable-systemd \
--with-qt5
make
}
package()
{
cd ${srcdir}/${pkgname}-${pkgver}
make INSTALL_ROOT=${pkgdir} install
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/COPYING
}