desktop/qbittorrent/PKGBUILD

31 lines
937 B
Bash
Executable File

pkgname=qbittorrent
pkgver=3.2.0
pkgrel=2
pkgdesc="A bittorrent client written in C++ / Qt using the good libtorrent library"
arch=('x86_64')
url="http://www.qbittorrent.org/"
license=('GPL')
depends=('qt' 'libtorrent-rasterbar' 'xdg-utils' 'boost-libs')
makedepends=('boost' 'geoip')
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
make
}
package()
{
cd ${srcdir}/${pkgname}-${pkgver}
make INSTALL_ROOT=${pkgdir} install
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/COPYING
}