1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
3 # Contributor: Thomas Dziedzic < gostrc at gmail >
4 # Contributor: Angel Velasquez <angvp@archlinux.org>
5 # Contributor: Alexander Fehr <pizzapunk gmail com>
6 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
11 pkgdesc='Download utility that supports HTTP(S), FTP, BitTorrent, and Metalink'
13 url='http://aria2.sourceforge.net/'
15 depends=('gnutls' 'libxml2' 'sqlite' 'c-ares' 'ca-certificates' 'libssh2')
16 checkdepends=('cppunit')
17 source=("https://github.com/tatsuhiro-t/aria2/releases/download/release-$pkgver/aria2-$pkgver.tar.xz")
18 sha512sums=('8203dbb75274455a78c50dd4f894e631de6931ac889f26896dceed78ec38c98cdbcf07e164744f308f2bfffeae1016beec1bfdbe8cad7f3280d11376aa0c2542')
26 --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
33 # https://github.com/aria2/aria2/issues/1476
34 # Upstream states "I don't see any issues with aria2 code."
35 make check || echo "Ignoring test failures"
40 make DESTDIR="$pkgdir" install
43 install -d "$pkgdir"/usr/share/bash-completion/completions
44 install -m644 "$pkgdir"/usr/share/doc/aria2/bash_completion/aria2c \
45 "$pkgdir"/usr/share/bash-completion/completions
46 rm -rf "$pkgdir"/usr/share/doc/aria2/bash_completion