Date: Saturday, July 20, 2019 @ 09:58:38 Author: arojas Revision: 358424
Update to 1.1.13 Modified: libtorrent-rasterbar/trunk/PKGBUILD ----------+ PKGBUILD | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-07-20 09:29:42 UTC (rev 358423) +++ PKGBUILD 2019-07-20 09:58:38 UTC (rev 358424) @@ -3,7 +3,7 @@ # Contributor: Hugo Doria <h...@archlinux.org> pkgname=libtorrent-rasterbar -pkgver=1.1.12 +pkgver=1.1.13 pkgrel=1 epoch=1 pkgdesc="A C++ BitTorrent library that aims to be a good alternative to all the other implementations around" @@ -14,17 +14,17 @@ makedepends=('boost' 'python2' 'python') options=('!emptydirs') _pkgver=${pkgver//./_} -source=(https://github.com/arvidn/libtorrent/archive/libtorrent_${_pkgver}/$pkgname-$pkgver.tar.gz) -sha512sums=('b41852f102ac7ce5b9ef2744067e021427e240ced77537d566db4b0534a7def8a869bc90f3086ef3ee8682670a66a75e6a7395856560963e7217c3fc5164fcb3') +source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-$_pkgver/$pkgname-$pkgver.tar.gz) +sha512sums=('021fc54353fdf5063d55ccdc2057dada292bb0008fb92e93e8d94dd89f529630f290fcdc4f4d095e3192522c57fe0f0da260b5ef8e8e15a8c6ac05728f5f7160') prepare() { mkdir py2 py3 - cd libtorrent-libtorrent_${_pkgver} + cd $pkgname-$pkgver # Avoid depending on newer processors sed -i 's/-msse4.2//' configure.ac - ./autotool.sh + autoreconf -if } _build() ( @@ -37,7 +37,7 @@ # https://github.com/qbittorrent/qBittorrent/issues/5265#issuecomment-220007436 CXXFLAGS="$CXXFLAGS -std=c++11" \ PYTHON=/usr/bin/python$1 \ - ../libtorrent-libtorrent_${_pkgver}/configure \ + ../$pkgname-$pkgver/configure \ --prefix=/usr \ --enable-python-binding \ --enable-examples \ @@ -54,7 +54,7 @@ package() { make -C py2 DESTDIR="$pkgdir" install make -C py3 DESTDIR="$pkgdir" install - install -Dm644 libtorrent-libtorrent_${_pkgver}/COPYING \ + install -Dm644 $pkgname-$pkgver/COPYING \ "$pkgdir/usr/share/licenses/$pkgname/LICENSE" # Remove most example binaries