community/libtorrent: fix url, actually add patch

This commit is contained in:
Jason Plum 2015-07-13 17:48:56 -04:00
parent 999838a57f
commit 277e8a2042
2 changed files with 11 additions and 1 deletions

View file

@ -15,7 +15,7 @@ url='http://libtorrent.rakshasa.no/'
arch=('i686' 'x86_64')
license=('GPL')
depends=('openssl')
source=("http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz"
source=("$pkgname-$pkgver.tar.gz::https://github.com/rakshasa/${pkgname}/archive/${pkgver}.tar.gz"
$pkgname-version.patch)
sha1sums=('0c83e8b9ece2c07986632dcc800f893451b23d71'
'ea80eb35cf5812840315726e67a5243ea6dccad4')

View file

@ -0,0 +1,10 @@
--- configure.ac.orig 2015-07-02 00:19:04.000000000 +0200
+++ configure.ac 2015-07-13 20:32:07.158592915 +0200
@@ -1 +1 @@
-AC_INIT(libtorrent, 0.13.4, sundell.software@gmail.com)
+AC_INIT(libtorrent, 0.13.5, sundell.software@gmail.com)
@@ -6,2 +6,2 @@
-AC_DEFINE(PEER_NAME, "-lt0D40-", Identifier that is part of the default peer id)
-AC_DEFINE(PEER_VERSION, "lt\x0D\x40", 4 byte client and version identifier for DHT)
+AC_DEFINE(PEER_NAME, "-lt0D50-", Identifier that is part of the default peer id)
+AC_DEFINE(PEER_VERSION, "lt\x0D\x50", 4 byte client and version identifier for DHT)