2016-04-16 22:35:01 +08:00
|
|
|
# Include global configuration
|
|
|
|
source ../kdeapps.conf
|
2012-09-01 18:33:27 +08:00
|
|
|
|
2010-07-11 19:50:56 +08:00
|
|
|
pkgname=libktorrent
|
2017-09-01 03:57:00 +08:00
|
|
|
pkgver=2.1
|
2016-04-16 22:35:01 +08:00
|
|
|
pkgrel=1
|
2010-07-11 19:50:56 +08:00
|
|
|
pkgdesc="A BitTorrent program for KDE"
|
2013-01-15 08:06:01 +08:00
|
|
|
arch=('x86_64')
|
2010-07-11 19:50:56 +08:00
|
|
|
url="http://ktorrent.org"
|
|
|
|
license=('GPL2')
|
2016-04-16 22:35:01 +08:00
|
|
|
depends=('qca-qt5' 'kio')
|
2016-04-19 16:18:02 +08:00
|
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'boost' 'doxygen')
|
2017-09-01 03:57:00 +08:00
|
|
|
source=("http://download.kde.org/stable/ktorrent/5.1/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
|
|
|
sha1sums=('e5600c1c81ccb65ad2c5589096c4b05d57577c68'
|
|
|
|
'SKIP')
|
|
|
|
validpgpkeys=('1EE5A3205904BAA2B88C0A9D24FD31940095C0E1') # Andrius \xc5\xa0tikonas
|
2016-04-16 22:35:01 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
2010-07-11 19:50:56 +08:00
|
|
|
|
|
|
|
build() {
|
2011-01-03 04:56:10 +08:00
|
|
|
cd build
|
2016-04-16 22:35:01 +08:00
|
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
2011-01-03 04:56:10 +08:00
|
|
|
make
|
|
|
|
}
|
2010-07-11 19:50:56 +08:00
|
|
|
|
2011-01-03 04:56:10 +08:00
|
|
|
package() {
|
|
|
|
cd ${srcdir}/build
|
|
|
|
make DESTDIR=${pkgdir} install
|
2010-07-11 19:50:56 +08:00
|
|
|
}
|