summaryrefslogtreecommitdiff
path: root/extra/libtorrent-rasterbar/PKGBUILD
blob: 3c92c4832da633cbb31876804ce39c4d64ec3f02 (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
# $Id: PKGBUILD 132751 2011-07-25 19:30:07Z ibiru $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Hugo Doria <hugo@archlinux.org>

pkgname=libtorrent-rasterbar
pkgver=0.15.6
pkgrel=3
pkgdesc="A C++ library that aims to be a good alternative to all the other bittorrent implementations around"
url="http://www.rasterbar.com/products/libtorrent/"
arch=('i686' 'x86_64')
license=('custom')
depends=('boost-libs' 'python2')
makedepends=('boost')
source=(http://libtorrent.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
sha1sums=('e6f33b139933ec245e8850558efe52e88081fc6d')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --enable-python-binding
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -D COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}