mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
27 lines
894 B
Bash
27 lines
894 B
Bash
pkgname=libtorrent-rasterbar
|
|
pkgver=1.0.5
|
|
pkgrel=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=('x86_64')
|
|
license=('BSD')
|
|
depends=('boost-libs' 'python2' 'geoip')
|
|
makedepends=('boost')
|
|
options=('!emptydirs')
|
|
source=(http://downloads.sourceforge.net/sourceforge/libtorrent/$pkgname-$pkgver.tar.gz)
|
|
sha512sums=('1ec54dfac1555ac1a843d12e239d781e940ef81ca13a943c58812b0fb62686e89bc5e0135feb94267fb624077cb0ad9971d496d8474b91f3687ef3b90a524df6')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
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"
|
|
}
|