diff options
author | tmpfile <tmpfile@users.noreply.github.com> | 2017-09-05 08:59:05 -0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-09-06 07:31:28 +0000 |
commit | 3c2f32f5eb30dbaf3275854339ae4fc0bc558e0e (patch) | |
tree | 215291cb3b7e2564a45c6fdce8ebed7338a4893c /main/aria2 | |
parent | 0b161c7b9b931bd01c3bac181c881433666e62c5 (diff) | |
download | aports-3c2f32f5eb30dbaf3275854339ae4fc0bc558e0e.tar.bz2 aports-3c2f32f5eb30dbaf3275854339ae4fc0bc558e0e.tar.xz |
main/aria2: update urls and modernize
Diffstat (limited to 'main/aria2')
-rw-r--r-- | main/aria2/APKBUILD | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/main/aria2/APKBUILD b/main/aria2/APKBUILD index 17c1807d72..2eee80a265 100644 --- a/main/aria2/APKBUILD +++ b/main/aria2/APKBUILD @@ -3,15 +3,15 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=aria2 pkgver=1.32.0 -pkgrel=0 +pkgrel=1 pkgdesc="Download utility for HTTP(S), (S)FTP, Bittorrent, and Metalink" -url="http://aria2.sourceforge.net" +url="https://aria2.github.io/" arch="all" license="GPL2+" depends="ca-certificates" makedepends="gnutls-dev expat-dev sqlite-dev c-ares-dev" subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch" -source="https://github.com/tatsuhiro-t/$pkgname/releases/download/release-$pkgver/$pkgname-$pkgver.tar.xz" +source="https://github.com/aria2/$pkgname/releases/download/release-$pkgver/$pkgname-$pkgver.tar.xz" builddir="$srcdir/$pkgname-$pkgver" build() { @@ -25,14 +25,13 @@ build() { --infodir=/usr/share/info \ --localstatedir=/var \ --disable-nls \ - --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \ - || return 1 - make || return 1 + --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } bashcomp() { @@ -40,7 +39,7 @@ bashcomp() { install_if="$pkgname=$pkgver-r$pkgrel bash-completion" install -Dm644 "$builddir"/doc/bash_completion/aria2c \ - "$subpkgdir"/usr/share/bash-completion/completions/_aria2c || return 1 + "$subpkgdir"/usr/share/bash-completion/completions/_aria2c } sha512sums="7c14c395fab3024191145b5c965c6c89211cd36ce405cafeef350aa6df9850bee9de65e756eab7d0bdeccb9409b829ea21552b9aac0166f50dcc17501b3dca8b aria2-1.32.0.tar.xz" |