1 # Maintainer: Daniel Riedemann <daniel.riedemann [at] googlemail [dot] com>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
7 pkgdesc='A powerful BitTorrent client'
9 url="http://ktorrent.org/"
11 depends=('kdebase-workspace' 'libktorrent-git' 'taglib')
12 makedepends=('cmake' 'automoc4' 'git' 'boost' 'docbook-xsl')
18 _gitroot="git://anongit.kde.org/ktorrent"
24 if [[ -d $_gitname ]]; then
25 (cd $_gitname && git pull origin)
27 git clone $_gitroot $_gitname
33 cmake ../${_gitname} \
34 -DCMAKE_BUILD_TYPE=Release \
35 -DCMAKE_SKIP_RPATH=ON \
36 -DCMAKE_INSTALL_PREFIX=/usr
42 make DESTDIR=${pkgdir} install