libktorrent: update to 2.0

This commit is contained in:
Chaoting Liu 2016-04-16 15:35:01 +01:00
parent bc849c1c88
commit cf43784262

View File

@ -1,29 +1,28 @@
# Desktop Packages for Chakra, part of chakra-project.org
# Maintainer abveritas@chakra-project.org
# Include global configuration
source ../kdeapps.conf
pkgname=libktorrent
pkgver=1.3.1
pkgrel=4
pkgver=2.0
pkgrel=1
ktorver=4.3.1
pkgdesc="A BitTorrent program for KDE"
arch=('x86_64')
url="http://ktorrent.org"
license=('GPL2')
depends=('kdelibs')
makedepends=('autoconf' 'perl' 'automoc4' 'cmake' 'kdepimlibs' 'kde-workspace')
source=("http://ktorrent.pwsp.net/downloads/${ktorver}/${pkgname}-${pkgver}.tar.bz2")
options=('libtool')
md5sums=('e4d8a3f0935031c402f37bcdf544e912')
depends=('qca-qt5' 'kio')
makedepends=('extra-cmake-modules' 'kdoctools'
'python3' 'boost')
source=("http://download.kde.org/stable/ktorrent/5.0/${pkgname}-${pkgver}.tar.xz")
sha1sums=('833725538169c56af6e27d7ca82ed77fd6c541cc')
prepare() {
mkdir -p build
}
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
cmake_kf5 ../${pkgname}-${pkgver}
make
}