desktop/ktorrent/PKGBUILD

36 lines
976 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.1
2018-12-04 00:54:01 +08:00
pkgrel=2
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')
url='https://www.kde.org/applications/internet/ktorrent/'
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')
2017-09-04 04:09:09 +08:00
options=('debug')
source=("http://download.kde.org/stable/ktorrent/$pkgver/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha1sums=('1fd9f1e78071a8b846b1f8517fd9d5b146b703c0'
'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
2018-12-04 00:54:01 +08:00
cmake ../${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
}