desktop/ktorrent/PKGBUILD
AlmAck 0af05b343a kde applications 16.12.0
renamed checksums to kdeapps.sums
added for all packages the pgp signature
for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
2016-12-20 21:48:24 +00:00

38 lines
1.1 KiB
Bash

# Include global configuration
source ../kdeapps.conf
pkgname=ktorrent
pkgver=5.0.1
pkgrel=3
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
options=('debug')
source=("http://download.kde.org/stable/ktorrent/5.0/${pkgname}-${pkgver}.tar.xz"
"KSharedConfig.patch::https://quickgit.kde.org/?p=ktorrent.git&a=commitdiff&h=f48acc22f0105ce6bac63294d248873ae231c6cc&o=plain")
sha1sums=('0f20f529ed08a7d13008945e961c637352aa43b6'
'698dc126b34cee23896fdc80955cea414c991cb6')
prepare() {
mkdir -p build
cd ${pkgname}-${pkgver}
patch -Np1 -i "${srcdir}/KSharedConfig.patch"
}
build() {
cd build
cmake_kf5 -DWITH_SYSTEM_GEOIP=ON ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}