desktop/ktorrent/PKGBUILD

32 lines
840 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
2016-04-19 16:33:57 +08:00
pkgver=5.0.1
2016-04-16 22:35:20 +08:00
pkgrel=1
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')
2016-04-19 16:33:57 +08:00
depends=('libktorrent' 'knotifyconfig' 'kcmutils' 'kdelibs4support' 'kross')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'boost' 'taglib' 'geoip' 'plasma-workspace' 'kdnssd')
optdepends=('plasma-workspace: shutdown plugin' 'kdnssd: zeroconf plugin' 'taglib: mediaplayer plugin')
2014-06-25 00:26:51 +08:00
install=${pkgname}.install
2016-04-16 22:35:20 +08:00
source=("http://download.kde.org/stable/ktorrent/5.0/${pkgname}-${pkgver}.tar.xz")
2016-04-19 16:33:57 +08:00
sha1sums=('0f20f529ed08a7d13008945e961c637352aa43b6')
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
2016-04-16 22:35:20 +08:00
cmake_kf5 -DWITH_SYSTEM_GEOIP=ON ../${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
}