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
|
2016-04-19 16:18:02 +08:00
|
|
|
pkgver=2.0.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')
|
2016-04-16 22:35:01 +08:00
|
|
|
source=("http://download.kde.org/stable/ktorrent/5.0/${pkgname}-${pkgver}.tar.xz")
|
2016-04-19 16:18:02 +08:00
|
|
|
sha1sums=('ebf4aedd97741ad534ee272576a4649788209574')
|
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
|
|
|
}
|