desktop/libtorrent-rasterbar/PKGBUILD

31 lines
929 B
Bash
Raw Normal View History

2014-04-13 21:57:42 +08:00
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
2011-01-25 09:35:33 +08:00
pkgname=libtorrent-rasterbar
2014-04-13 21:57:42 +08:00
pkgver=0.16.16
2014-06-10 15:18:16 +08:00
pkgrel=2
2011-01-25 09:35:33 +08:00
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/"
2013-01-20 01:06:26 +08:00
arch=('x86_64')
2014-04-13 21:57:42 +08:00
license=('BSD')
depends=('boost-libs' 'python2' 'geoip')
2011-01-25 09:35:33 +08:00
makedepends=('boost')
2014-04-13 21:57:42 +08:00
options=('!emptydirs')
2014-03-02 09:25:07 +08:00
source=(http://downloads.sourceforge.net/sourceforge/libtorrent/$pkgname-$pkgver.tar.gz)
2014-04-13 21:57:42 +08:00
sha1sums=('de8faed5cbc09baddb2748cb7b75edd07ab0addc')
2011-01-25 09:35:33 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2014-04-13 21:57:42 +08:00
#./configure --prefix=/usr --enable-python-binding
#make
PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
--enable-python-binding \
--with-libgeoip=system
2011-01-25 09:35:33 +08:00
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
2011-01-25 09:35:33 +08:00
make DESTDIR="${pkgdir}" install
install -D COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}