PKGBUILDs/extra/aria2/PKGBUILD
2009-10-18 22:17:58 -05:00

20 lines
656 B
Bash

# Maintainer: Alexander Fehr <pizzapunk gmail com>
pkgname=aria2
pkgver=1.5.2
pkgrel=1
pkgdesc="Download utility that supports HTTP(S), FTP, BitTorrent, and Metalink"
arch=('arm')
url="http://aria2.sourceforge.net/"
license=('GPL')
depends=('gnutls' 'libxml2' 'sqlite3' 'c-ares' 'ca-certificates')
source=( http://downloads.sourceforge.net/project/aria2/stable/archives/aria2-${pkgver}/aria2-${pkgver}.tar.bz2)
md5sums=('13ffefebdc4df4956721801fe74e01df')
build() {
cd "$srcdir/aria2-$pkgver"
./configure --prefix=/usr --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
}