summaryrefslogtreecommitdiff
path: root/community/aria2/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-10 00:01:08 +0000
committerroot <root@rshg054.dnsready.net>2012-04-10 00:01:08 +0000
commit223ca251f3ce07eb5484be845e631d6ca645b263 (patch)
treea9e543c45cd0d58c82e39617f602a718d86976c4 /community/aria2/PKGBUILD
parent1fed401c439c264bd92a4c13af1bea0bea458cb4 (diff)
Tue Apr 10 00:01:08 UTC 2012
Diffstat (limited to 'community/aria2/PKGBUILD')
-rw-r--r--community/aria2/PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/community/aria2/PKGBUILD b/community/aria2/PKGBUILD
index 5111715b2..79ac592da 100644
--- a/community/aria2/PKGBUILD
+++ b/community/aria2/PKGBUILD
@@ -4,16 +4,16 @@
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=aria2
-pkgver=1.14.2
+pkgver=1.15.0
pkgrel=1
pkgdesc='Download utility that supports HTTP(S), FTP, BitTorrent, and Metalink'
arch=('i686' 'x86_64')
url='http://aria2.sourceforge.net/'
license=('GPL')
-depends=('gnutls' 'libxml2' 'sqlite3' 'c-ares' 'ca-certificates')
+depends=('gnutls' 'libxml2' 'sqlite' 'c-ares' 'ca-certificates')
checkdepends=('cppunit')
source=("http://downloads.sourceforge.net/aria2/aria2-${pkgver}.tar.bz2")
-md5sums=('19b1a9f83a09c6ef5c7ab87e4e0f7974')
+md5sums=('a381b8a0fe2d71f726187237ac6de82d')
build() {
cd aria2-${pkgver}
@@ -35,4 +35,10 @@ package() {
cd aria2-${pkgver}
make DESTDIR=${pkgdir} install
+
+ # add bash completion (aria2 automatically installs to a temporary target directory)
+ 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
}