mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
# Include global configuration
|
|
source ../kdeapps.conf
|
|
|
|
pkgname=ktorrent
|
|
pkgver=5.1.0
|
|
pkgrel=3
|
|
pkgdesc="A powerful BitTorrent client for KDE"
|
|
arch=('x86_64')
|
|
url='http://ktorrent.pwsp.net/'
|
|
license=('GPL2')
|
|
depends=('libktorrent' 'knotifyconfig' 'kcmutils' 'kross')
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'boost' 'taglib' 'geoip' 'plasma-workspace' 'kdnssd' 'syndication')
|
|
optdepends=('plasma-workspace: shutdown plugin'
|
|
'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
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
# Patch here
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 -DWITH_SYSTEM_GEOIP=ON ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|