1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=libktorrent-git
6 pkgdesc='A BitTorrent protocol implementation'
8 url="https://projects.kde.org/projects/extragear/network/libktorrent"
11 makedepends=('cmake' 'automoc4' 'git' 'boost' 'doxygen')
12 provides=(libktorrent)
13 conflicts=(libktorrent)
17 _gitroot="git://anongit.kde.org/libktorrent.git"
18 _gitname="libktorrent"
23 if [[ -d $_gitname ]]; then
24 (cd $_gitname && git pull origin)
26 git clone $_gitroot $_gitname
32 cmake ../${_gitname} \
33 -DCMAKE_BUILD_TYPE=Release \
34 -DCMAKE_SKIP_RPATH=ON \
35 -DCMAKE_INSTALL_PREFIX=/usr
41 make DESTDIR=${pkgdir} install