desktop/libtorrent-rasterbar/PKGBUILD
2014-06-10 07:18:16 +00:00

31 lines
929 B
Bash
Executable File

# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
pkgname=libtorrent-rasterbar
pkgver=0.16.16
pkgrel=2
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')
makedepends=('boost')
options=('!emptydirs')
source=(http://downloads.sourceforge.net/sourceforge/libtorrent/$pkgname-$pkgver.tar.gz)
sha1sums=('de8faed5cbc09baddb2748cb7b75edd07ab0addc')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
#./configure --prefix=/usr --enable-python-binding
#make
PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
--enable-python-binding \
--with-libgeoip=system
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -D COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}