Commit 827d3afb authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] libtorrent-rasterbar: update to 1.1.13

parent 0a8c1212
Pipeline #3568 skipped
pkgname=libtorrent-rasterbar
pkgver=1.1.11
pkgver=1.1.13
_pkgver=${pkgver//./_}
pkgrel=1
pkgdesc="A C++ library that aims to be a good alternative to all the other bittorrent implementations around"
......@@ -9,12 +9,12 @@ license=('BSD')
depends=('boost-libs' 'python2' 'python3' 'geoip' 'websocketpp')
makedepends=('boost' 'cmake')
options=('!emptydirs')
source=(https://github.com/arvidn/libtorrent/archive/libtorrent_${_pkgver}/$pkgname-$pkgver.tar.gz)
sha256sums=('d98ea107513537771ce661d17ccc16148cda1294c2d42ff4efe314482e0de441')
source=(https://github.com/arvidn/libtorrent/archive/libtorrent-${_pkgver}/$pkgname-$pkgver.tar.gz)
sha256sums=('b88d043a4f56eb5b48ae219783029d7f6cff24401161d2f054aef96286ce912b')
prepare() {
mkdir py2 py3
cd libtorrent-libtorrent_${_pkgver}
cd libtorrent-libtorrent-${_pkgver}
# Avoid depending on newer processors
sed -i 's/-msse4.2//' configure.ac
......@@ -32,7 +32,7 @@ _build() (
# https://github.com/qbittorrent/qBittorrent/issues/5265#issuecomment-220007436
CXXFLAGS="$CXXFLAGS -std=c++11" \
PYTHON=/usr/bin/python$1 \
../libtorrent-libtorrent_${_pkgver}/configure \
../libtorrent-libtorrent-${_pkgver}/configure \
--prefix=/usr \
--enable-python-binding \
--enable-examples \
......@@ -49,7 +49,7 @@ build() {
package() {
make -C py2 DESTDIR="$pkgdir" install
make -C py3 DESTDIR="$pkgdir" install
install -Dm644 libtorrent-libtorrent_${_pkgver}/COPYING \
install -Dm644 libtorrent-libtorrent-${_pkgver}/COPYING \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
# Remove most example binaries
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment