# Include global configuration source ../kdeapps.conf pkgname=ktorrent pkgver=5.0.1 pkgrel=1 pkgdesc="A powerful BitTorrent client for KDE" arch=('x86_64') url='http://ktorrent.pwsp.net/' license=('GPL2') depends=('libktorrent' 'knotifyconfig' 'kcmutils' 'kdelibs4support' 'kross') makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'boost' 'taglib' 'geoip' 'plasma-workspace' 'kdnssd') optdepends=('plasma-workspace: shutdown plugin' 'kdnssd: zeroconf plugin' 'taglib: mediaplayer plugin') install=${pkgname}.install source=("http://download.kde.org/stable/ktorrent/5.0/${pkgname}-${pkgver}.tar.xz") sha1sums=('0f20f529ed08a7d13008945e961c637352aa43b6') prepare() { mkdir -p build } build() { cd build cmake_kf5 -DWITH_SYSTEM_GEOIP=ON ../${pkgname}-${pkgver} make } package() { cd build make DESTDIR="${pkgdir}" install }