desktop/ktorrent/PKGBUILD

37 lines
977 B
Bash
Raw Normal View History

2016-04-16 22:35:20 +08:00
# Include global configuration
source ../kdeapps.conf
2010-05-31 06:57:45 +08:00
pkgname=ktorrent
pkgver=5.1.0
2017-11-06 20:30:17 +08:00
pkgrel=4
2014-06-25 00:26:51 +08:00
pkgdesc="A powerful BitTorrent client for KDE"
2015-11-12 06:52:00 +08:00
arch=('x86_64')
2014-06-25 00:26:51 +08:00
url='http://ktorrent.pwsp.net/'
2010-05-31 06:57:45 +08:00
license=('GPL2')
2017-11-06 20:30:17 +08:00
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')
2014-06-25 00:26:51 +08:00
install=${pkgname}.install
2017-09-04 04:09:09 +08:00
options=('debug')
source=("http://download.kde.org/stable/ktorrent/5.1/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha1sums=('44da78db61d86a5551a17019f95bf905ad00d918'
'SKIP')
validpgpkeys=('1EE5A3205904BAA2B88C0A9D24FD31940095C0E1') # Andrius \xc5\xa0tikonas
2014-06-25 00:26:51 +08:00
prepare() {
2016-04-16 22:35:20 +08:00
mkdir -p build
2014-06-25 00:26:51 +08:00
}
2010-05-31 06:57:45 +08:00
build() {
2014-06-25 00:26:51 +08:00
cd build
2017-11-06 20:30:17 +08:00
cmake_kf5 ../${pkgname}-${pkgver}
2014-06-25 00:26:51 +08:00
make
}
2010-05-31 06:57:45 +08:00
2014-06-25 00:26:51 +08:00
package() {
cd build
make DESTDIR="${pkgdir}" install
2010-05-31 06:57:45 +08:00
}