Date: Sunday, July 27, 2014 @ 10:00:00 Author: fyan Revision: 116411 upgpkg: aria2 1.18.7-2
apply upstream fix for https://github.com/tatsuhiro-t/aria2/issues/265 Modified: aria2/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-07-27 07:43:06 UTC (rev 116410) +++ PKGBUILD 2014-07-27 08:00:00 UTC (rev 116411) @@ -8,7 +8,7 @@ pkgname=aria2 pkgver=1.18.7 -pkgrel=1 +pkgrel=2 pkgdesc='Download utility that supports HTTP(S), FTP, BitTorrent, and Metalink' arch=('i686' 'x86_64') url='http://aria2.sourceforge.net/' @@ -15,9 +15,18 @@ license=('GPL') depends=('gnutls' 'libxml2' 'sqlite' 'c-ares' 'ca-certificates') checkdepends=('cppunit') -source=(http://downloads.sourceforge.net/aria2/aria2-$pkgver.tar.xz) -sha256sums=('7944336efdfc82892802bec304698448e8d27b30f30496576716e8b93ebfff98') +source=("http://downloads.sourceforge.net/aria2/aria2-$pkgver.tar.xz" + https://github.com/tatsuhiro-t/aria2/commit/c659fe939df2b0830f83f39429d6e7814ac82157.patch) +sha256sums=('7944336efdfc82892802bec304698448e8d27b30f30496576716e8b93ebfff98' + '1225cde7db20d185188de752edebd4f76c73e4806793d7d139031788bf9434eb') +prepare() { + cd $pkgname-$pkgver + + # https://github.com/tatsuhiro-t/aria2/issues/265 + patch -p1 -i ../c659fe939df2b0830f83f39429d6e7814ac82157.patch +} + build() { cd $pkgname-$pkgver