pkgname=libtorrent-rasterbar pkgver=1.1.0 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=('x86_64') license=('BSD') depends=('boost-libs' 'python2' 'geoip' 'websocketpp') makedepends=('boost' 'cmake') options=('!emptydirs') source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_1/$pkgname-$pkgver.tar.gz) sha256sums=('2713df7da4aec5263ac11b6626ea966f368a5a8081103fd8f2f2ed97b5cd731d') build() { cd $pkgname-$pkgver CXXFLAGS="${CXXFLAGS} -std=c++11" PYTHON=/usr/bin/python2 \ ./configure \ --prefix=/usr \ --enable-python-binding \ --with-libiconv make } package() { cd $pkgname-$pkgver make DESTDIR="${pkgdir}" install install -D COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" }