summaryrefslogtreecommitdiff
path: root/extra/libktorrent/PKGBUILD
blob: 4ea50a3eae45109bbc66432b3eb67bdf0d16885e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 115082 2011-03-16 19:16:25Z andrea $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=libktorrent
pkgver=1.1.0
pkgrel=1
pkgdesc="A BitTorrent library based on KDE Platform"
arch=('i686' 'x86_64' 'mips64el')
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
}