# $Id: PKGBUILD 176291 2013-01-28 16:48:24Z stephane $ # Maintainer : Ionut Biru # Contributor: Hugo Doria pkgname=libtorrent-rasterbar pkgver=0.16.7 pkgrel=2 epoch=1 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' 'mips64el') license=('BSD') depends=('boost-libs' 'geoip' 'python2') makedepends=('boost') options=('!libtool' '!emptydirs') source=(http://libtorrent.googlecode.com/files/$pkgname-$pkgver.tar.gz) sha1sums=('94b132a17d8f6a5345937731343398be8d31f170') build() { cd $pkgname-$pkgver PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ --enable-python-binding \ --with-libgeoip=system make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }