# $Id: PKGBUILD 100316 2010-11-22 16:29:19Z ibiru $ # Maintainer : Ionut Biru # Contributor: Hugo Doria # Contributor: Andrea Scarpino pkgname=libtorrent-rasterbar pkgver=0.15.4 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>=1.44.0' 'python2') makedepends=('boost') source=(http://libtorrent.googlecode.com/files/${pkgname}-${pkgver}.tar.gz) md5sums=('58750b3a246d056335745f9e805bb949') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --enable-python-binding \ --with-boost-filesystem=mt \ --with-boost-thread=mt make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -D COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" }