diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-02-16 00:18:06 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-02-16 00:18:08 +0100 |
commit | bac75178bbd43d8ec45609311d63d49c7c54fbaf (patch) | |
tree | 750de448fe2d627ca9b6fe3c753928322a1a31b7 /main/aria2 | |
parent | 40fce3b393de7d70b733c5305099731b4434dc06 (diff) | |
download | aports-bac75178bbd43d8ec45609311d63d49c7c54fbaf.tar.bz2 aports-bac75178bbd43d8ec45609311d63d49c7c54fbaf.tar.xz |
main/aria2: upgrade to 1.20.0
Also add a bash completion subpackage.
Diffstat (limited to 'main/aria2')
-rw-r--r-- | main/aria2/APKBUILD | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/main/aria2/APKBUILD b/main/aria2/APKBUILD index 0aa865474c..f42a92abdc 100644 --- a/main/aria2/APKBUILD +++ b/main/aria2/APKBUILD @@ -1,17 +1,18 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Contributor: Jeff Bilyk <jbilyk@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=aria2 -pkgver=1.19.3 +pkgver=1.20.0 pkgrel=0 pkgdesc="Download utility for HTTP(S), (S)FTP, Bittorrent, and Metalink" url="http://aria2.sourceforge.net" arch="all" license="GPL2+" depends="ca-certificates" -depends_dev="gnutls-dev expat-dev sqlite-dev c-ares-dev" -makedepends="$depends_dev" +depends_dev="" +makedepends="gnutls-dev expat-dev sqlite-dev c-ares-dev" install="" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp" source="https://github.com/tatsuhiro-t/$pkgname/releases/download/release-$pkgver/$pkgname-$pkgver.tar.xz" _builddir="$srcdir"/$pkgname-$pkgver @@ -46,6 +47,16 @@ package() { make DESTDIR="$pkgdir" install || return 1 } -md5sums="b6363664e3cd510a092b0d812085724b aria2-1.19.3.tar.xz" -sha256sums="6abcc6c28437a519cc1016736cb446ed38db360cb9828c4a7105526ea82299e3 aria2-1.19.3.tar.xz" -sha512sums="1b3a58c4772b99a3fc589552aa97d8e9ade0617591868f56300b421940b3444b32dd3537c91f7beeab3c7c4e04d6a3cac886ab744e4b50af1543d368641a0b00 aria2-1.19.3.tar.xz" +bashcomp() { + depends="" + pkgdesc="Bash completions for $pkgname" + install_if="$pkgname=$pkgver-r$pkgrel bash-completion" + arch="noarch" + + install -Dm644 "$_builddir"/doc/bash_completion/aria2c \ + "$subpkgdir"/usr/share/bash-completion/completions/_aria2c || return 1 +} + +md5sums="633b9f5c7a6d2a4198174cf895b4a038 aria2-1.20.0.tar.xz" +sha256sums="bf96344b6fee3aada0881ca008b077ea2c5dd820e8f8d693329481ecc7ff8fd0 aria2-1.20.0.tar.xz" +sha512sums="577fbf16567e6554e1b316ae83db35861cc37f98e3e79bb2f3c0bac03f39871e1712cb4cb6c52dd90f0e30b2d469bf8c774c7116223d7e68aef4c3d715439b9b aria2-1.20.0.tar.xz" |