description="Download utility that supports HTTP(S), FTP, BitTorrent, and Metalink" url="http://aria2.sourceforge.net/" packager="spiky " contributors="Rems,Tnut" makedepends=(c-ares gnutls libssh2 libxml2 sqlite) name=aria2 version=1.37.0 source=(https://github.com/tatsuhiro-t/$name/releases/download/release-$version/$name-$version.tar.xz) build(){ cd $name-$version ./configure \ --prefix=/usr \ --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt make } package() { cd $name-$version make DESTDIR=$PKG install # add bash completion install -d $PKG/usr/share/bash-completion/completions install -m644 $PKG/usr/share/doc/aria2/bash_completion/aria2c \ $PKG/usr/share/bash-completion/completions rm -rf $PKG/usr/share/doc/aria2/bash_completion }