pkgname: aria2 pkgver: '1.37.0' pkgrel: '3' pkgdesc: 'Download utility that supports HTTP(S), FTP, BitTorrent, and Metalink' url: 'https://aria2.sourceforge.net/' arch: x86_64 depends: [] makedepends: - 'c-ares' - gnutls - libssh2 - libxml2 - sqlite source: - 'https://github.com/tatsuhiro-t/${pkgname}/releases/download/release-${pkgver}/${pkgname}-${pkgver}.tar.xz' - 'nettle-4.patch' sha256sums: - SKIP - SKIP build: | cd ${pkgname}-${pkgver} patch -Np1 -i ../nettle-4.patch ./configure \ --prefix=/usr \ --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt make package: | cd ${pkgname}-${pkgver} make DESTDIR=${PKGDIR} install # add bash completion install -d ${PKGDIR}/usr/share/bash-completion/completions install -m644 ${PKGDIR}/usr/share/doc/aria2/bash_completion/aria2c \ ${PKGDIR}/usr/share/bash-completion/completions rm -rf ${PKGDIR}/usr/share/doc/aria2/bash_completion