# Include global configuration source ../kdeapps.conf pkgname=libktorrent pkgver=2.0.1 pkgrel=1 pkgdesc="A BitTorrent program for KDE" arch=('x86_64') url="http://ktorrent.org" license=('GPL2') depends=('qca-qt5' 'kio') makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'boost' 'doxygen') source=("http://download.kde.org/stable/ktorrent/5.0/${pkgname}-${pkgver}.tar.xz") sha1sums=('ebf4aedd97741ad534ee272576a4649788209574') prepare() { mkdir -p build } build() { cd build cmake_kf5 ../${pkgname}-${pkgver} make } package() { cd ${srcdir}/build make DESTDIR=${pkgdir} install }