updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libktorrent-devel / PKGBUILD
blob298c4af52851b0d5adb56dabd0b7c305e4bdc22a
1 # Maintainer: Aleksuk Artyom <h31mail at yandex.com>
2 # based on "libktorrent" package
4 pkgname=libktorrent-devel
5 pkgver=1.1rc1
6 pkgrel=1
7 pkgdesc="A BitTorrent library based on KDE Platform"
8 arch=('i686' 'x86_64')
9 url="http://ktorrent.org"
10 license=('GPL2')
11 depends=('kdelibs')
12 makedepends=('automoc4' 'cmake' 'boost')
13 provides=(libktorrent)
14 conflicts=(libktorrent)
15 source=("http://ktorrent.org/downloads/4.1rc1/libktorrent-${pkgver}.tar.bz2")
16 options=('libtool')
17 md5sums=('0060a3a83c5e63485bc168d59f33656e')
19 build() {
20   cd ${srcdir}
21   mkdir build
22   cd build
23   cmake ../libktorrent-${pkgver} \
24     -DCMAKE_BUILD_TYPE=Release \
25     -DCMAKE_INSTALL_PREFIX=/usr
26   make
29 package() {
30   cd ${srcdir}/build
31   make DESTDIR=${pkgdir} install