desktop/aria2/PKGBUILD
2011-08-25 18:28:39 +00:00

30 lines
792 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# Contributor: Neo Kolokotronis <tetris4@gmail.com>
pkgname=aria2
pkgver=1.12.1
pkgrel=2
pkgdesc='Download utility that supports HTTP(S), FTP, BitTorrent, and Metalink.'
arch=('i686' 'x86_64')
url='http://aria2.sourceforge.net/'
license=('GPL3')
depends=('ca-certificates' 'c-ares' 'gnutls' 'libxml2' 'sqlite3')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
md5sums=('9f3bf96d92bc8b70b74817ed10c2c7e7')
build() {
cd $srcdir/$pkgname-$pkgver
./configure \
--prefix=/usr \
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}