mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
main/aria2: upgrade to 1.31.0
This commit is contained in:
parent
ce341d76bd
commit
eedb8b0526
@ -2,22 +2,20 @@
|
||||
# Contributor: Jeff Bilyk <jbilyk@gmail.com>
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=aria2
|
||||
pkgver=1.26.1
|
||||
pkgver=1.31.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=""
|
||||
makedepends="gnutls-dev expat-dev sqlite-dev c-ares-dev"
|
||||
install=""
|
||||
subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch"
|
||||
source="https://github.com/tatsuhiro-t/$pkgname/releases/download/release-$pkgver/$pkgname-$pkgver.tar.xz"
|
||||
builddir="$srcdir/$pkgname-$pkgver"
|
||||
|
||||
_builddir="$srcdir"/$pkgname-$pkgver
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
@ -33,19 +31,18 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
}
|
||||
|
||||
bashcomp() {
|
||||
depends=""
|
||||
pkgdesc="Bash completions for $pkgname"
|
||||
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
|
||||
|
||||
install -Dm644 "$_builddir"/doc/bash_completion/aria2c \
|
||||
install -Dm644 "$builddir"/doc/bash_completion/aria2c \
|
||||
"$subpkgdir"/usr/share/bash-completion/completions/_aria2c || return 1
|
||||
}
|
||||
|
||||
md5sums="73a968125511c2271695156de9273565 aria2-1.26.1.tar.xz"
|
||||
sha256sums="f4e64e9754af5e1c0ee1ee2a50c5fa5acbc180855909209c2ce0111e86c9a801 aria2-1.26.1.tar.xz"
|
||||
sha512sums="1a96451ed72a557cddd605f2362c40b0db40878f3a40ce6898c95257178a2c04d5570354ac28dd4d451ed2931eb6bc86fb9addab6b0fd60857d026aae691e683 aria2-1.26.1.tar.xz"
|
||||
md5sums="8e8776184f384d34b37306821bf10a67 aria2-1.31.0.tar.xz"
|
||||
sha256sums="7b85619048b23406f241e38a5b1b8b0bc2cae9e80fd117810c2a71ecca813f8c aria2-1.31.0.tar.xz"
|
||||
sha512sums="a0a1312522324dc0bc24cf1a5cceaef49d40445668ed0bd98dc3cdd5e2edb428552e97504c8c072f5d1180d6bbd252de01d290ef5c94d1803b8ade330bc2710f aria2-1.31.0.tar.xz"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user