From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/libktorrent/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 extra/libktorrent/PKGBUILD (limited to 'extra/libktorrent') diff --git a/extra/libktorrent/PKGBUILD b/extra/libktorrent/PKGBUILD new file mode 100644 index 000000000..b2da7c65e --- /dev/null +++ b/extra/libktorrent/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 115082 2011-03-16 19:16:25Z andrea $ +# Maintainer: Ronald van Haren +# Maintainer: Andrea Scarpino + +pkgname=libktorrent +pkgver=1.1.0 +pkgrel=1 +pkgdesc="A BitTorrent library based on KDE Platform" +arch=('i686' 'x86_64') +url="http://ktorrent.org" +license=('GPL2') +depends=('kdelibs') +makedepends=('automoc4' 'cmake' 'boost') +source=("http://ktorrent.org/downloads/4.1.0/${pkgname}-${pkgver}.tar.bz2") +options=('libtool') +md5sums=('76d3e58bbf2e4df7e97421e06ebf8fb8') + +build() { + cd ${srcdir} + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd ${srcdir}/build + make DESTDIR=${pkgdir} install +} -- cgit v1.2.3-54-g00ecf