2010-07-11 19:50:56 +08:00
|
|
|
#
|
|
|
|
# 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=libktorrent
|
2011-01-03 04:56:10 +08:00
|
|
|
pkgver=1.0.5
|
2010-09-01 00:45:40 +08:00
|
|
|
pkgrel=1
|
2011-01-03 04:56:10 +08:00
|
|
|
ktorver=4.0.5
|
2010-07-11 19:50:56 +08:00
|
|
|
pkgdesc="A BitTorrent program for KDE"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://ktorrent.org"
|
|
|
|
license=('GPL2')
|
|
|
|
depends=('kdelibs')
|
|
|
|
makedepends=('autoconf' 'perl' 'automoc4' 'cmake' 'kdepimlibs' 'kdebase-workspace')
|
2011-01-03 04:56:10 +08:00
|
|
|
source=(http://ktorrent.org/downloads/${ktorver}/libktorrent-${pkgver}-3.tar.bz2)
|
2010-07-11 19:50:56 +08:00
|
|
|
options=('libtool')
|
2011-01-03 04:56:10 +08:00
|
|
|
md5sums=('31f0397a28557220ce38fe2c8630826d')
|
2010-07-11 19:50:56 +08:00
|
|
|
|
|
|
|
build() {
|
2011-01-03 04:56:10 +08:00
|
|
|
cd ${srcdir}
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ../${pkgname}-${pkgver}-3 \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
make
|
|
|
|
}
|
2010-07-11 19:50:56 +08:00
|
|
|
|
2011-01-03 04:56:10 +08:00
|
|
|
package() {
|
|
|
|
cd ${srcdir}/build
|
|
|
|
make DESTDIR=${pkgdir} install
|
2010-07-11 19:50:56 +08:00
|
|
|
}
|