desktop/ktorrent/PKGBUILD
Manuel Tortosa 75e1764da7 Add ktorrent
2010-05-31 22:46:56 +00:00

24 lines
629 B
Bash

# Maintainer: Manuel Tortosa <manutortosa@gmail.com>
pkgname=ktorrent
pkgver=4.0.0
pkgrel=1
ktorver=4.0
pkgdesc="A BitTorrent program for KDE"
arch=('i686' 'x86_64')
url="http://ktorrent.org"
license=('GPL2')
depends=('kdelibs' 'kdebase-runtime' 'kdepimlibs' 'qca' 'gmp' 'taglib' 'libktorrent')
makedepends=('cmake' 'automoc4')
source=(http://ktorrent.org/downloads/${ktorver}/ktorrent-${pkgver}.tar.bz2)
options=('libtool')
md5sums=('7862b09dfc1282053c7304f98f3ce0cf')
build() {
cd ${srcdir}/ktorrent-4.0.0
cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
make || return 1
make DESTDIR=${pkgdir} install
}