Skip to content
Snippets Groups Projects
Commit 3dfcb7d1 authored by Justin Berthault's avatar Justin Berthault Committed by Leo
Browse files

testing/libtorrent-rasterbar: upgrade to 1.2.7

parent 7a8a808e
No related branches found
No related tags found
3 merge requests!11958community/rclone: upgrade to 1.52.3,!9763[3.12] community/znc: upgrade to 1.8.1,!8879testing/libtorrent-rasterbar: upgrade to 1.2.7
# Contributor: August Klein <amatcoder@gmail.com> # Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com> # Maintainer: August Klein <amatcoder@gmail.com>
pkgname=libtorrent-rasterbar pkgname=libtorrent-rasterbar
pkgver=1.2.6 pkgver=1.2.7
_pkgver=${pkgver//./_} _pkgver=${pkgver//./_}
pkgrel=0 pkgrel=0
pkgdesc="Feature complete C++ bittorrent implementation" pkgdesc="Feature complete C++ bittorrent implementation"
...@@ -12,7 +12,7 @@ license="BSD-3-Clause" ...@@ -12,7 +12,7 @@ license="BSD-3-Clause"
depends_dev="boost-dev openssl-dev python3-dev" depends_dev="boost-dev openssl-dev python3-dev"
makedepends="$depends_dev linux-headers" makedepends="$depends_dev linux-headers"
subpackages="py3-$pkgname:_py3 $pkgname-static $pkgname-dev" subpackages="py3-$pkgname:_py3 $pkgname-static $pkgname-dev"
source="https://github.com/arvidn/libtorrent/releases/download/libtorrent-$_pkgver/libtorrent-rasterbar-$pkgver.tar.gz" source="https://github.com/arvidn/libtorrent/releases/download/libtorrent_$_pkgver/libtorrent-rasterbar-$pkgver.tar.gz"
build() { build() {
local _py3ver=$(python3 -c 'import sys; print("{}{}".format(sys.version_info.major, sys.version_info.minor))') local _py3ver=$(python3 -c 'import sys; print("{}{}".format(sys.version_info.major, sys.version_info.minor))')
...@@ -41,7 +41,8 @@ package() { ...@@ -41,7 +41,8 @@ package() {
_py3() { _py3() {
pkgdesc="Python3 bindings for $pkgname" pkgdesc="Python3 bindings for $pkgname"
mkdir -p "$subpkgdir"/usr/lib mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/share/cmake/* "$pkgdir"/usr/lib/cmake/
mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
} }
sha512sums="78f9120b1b824dac37ec8bd16a29abdfcd7fd6af3c56e0cc9048d74412d000ef5ea1e8421f757eddb914f8bb20de9fb4192d5b8a3f781fa2e1d4f134ea24b1ee libtorrent-rasterbar-1.2.6.tar.gz" sha512sums="60dfb31b1300b3aa2219227b3a263ba73aedb54a90aa940c117027651779cb972d6e1badf9519f6ad7947233b54df608b829bab34493ceda9e4cb8913041a752 libtorrent-rasterbar-1.2.7.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment