desktop/ktorrent/PKGBUILD
2011-01-22 17:17:49 +00:00

28 lines
796 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=ktorrent
pkgver=4.0.5
pkgrel=2
ktorver=4.0.5
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>=1.0.4')
makedepends=('cmake' 'automoc4')
source=(http://ktorrent.org/downloads/${ktorver}/ktorrent-${pkgver}.tar.bz2)
options=('libtool')
md5sums=('3a2e9a92d3a30d44b98ded0e4984ae8a')
build() {
cd ${srcdir}/ktorrent-${ktorver}
cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
make || return 1
make DESTDIR=${pkgdir} install
}