desktop/ktorrent/PKGBUILD
2017-11-06 13:30:17 +01:00

37 lines
977 B
Bash

# Include global configuration
source ../kdeapps.conf
pkgname=ktorrent
pkgver=5.1.0
pkgrel=4
pkgdesc="A powerful BitTorrent client for KDE"
arch=('x86_64')
url='http://ktorrent.pwsp.net/'
license=('GPL2')
depends=('libktorrent' 'knotifyconfig' 'kcmutils' 'kross' 'geoip' 'kplotting')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'boost' 'taglib' 'plasma-workspace' 'kdnssd' 'syndication')
optdepends=('kdnssd: zeroconf plugin'
'taglib: mediaplayer plugin'
'syndication: rss/syndication plugin')
install=${pkgname}.install
options=('debug')
source=("http://download.kde.org/stable/ktorrent/5.1/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha1sums=('44da78db61d86a5551a17019f95bf905ad00d918'
'SKIP')
validpgpkeys=('1EE5A3205904BAA2B88C0A9D24FD31940095C0E1') # Andrius \xc5\xa0tikonas
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}