4 pkgdesc="Download utility that supports HTTP(S), FTP, BitTorrent, and Metalink"
6 url="http://aria2.sourceforge.net/"
8 depends=(gnutls libxml2 sqlite3 c-ares ca-certificates)
9 makedepends=(git cppunit asciidoc)
11 conflicts=(aria2 aria2-daemon-svn)
12 source=(aria2.conf aria2.d)
13 md5sums=(4ac35c66fb40ef8f35e8e280ad6f30f3 d22416c1463a26d3c4642dfbd60fd96b)
14 install=aria2-git.install
15 _gitroot="https://github.com/tatsuhiro-t/aria2.git"
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
23 git clone $_gitroot $_gitname
25 rm -rf "$srcdir/$_gitname-build"
26 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
27 cd "$srcdir/$_gitname-build"
31 ./configure --prefix=/usr --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
36 cd "$srcdir/$_gitname-build"
37 install -D -m755 $srcdir/aria2.d $pkgdir/etc/rc.d/aria2
38 install -D -m644 $srcdir/aria2.conf $pkgdir/etc/aria2.conf
39 make DESTDIR="$pkgdir/" install