diff --git a/community/libtorrent/PKGBUILD b/community/libtorrent/PKGBUILD index 719bded56..6311b37ea 100644 --- a/community/libtorrent/PKGBUILD +++ b/community/libtorrent/PKGBUILD @@ -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') diff --git a/community/libtorrent/libtorrent-version.patch b/community/libtorrent/libtorrent-version.patch new file mode 100644 index 000000000..87cbc4f33 --- /dev/null +++ b/community/libtorrent/libtorrent-version.patch @@ -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)