aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorƁukasz Jendrysik <scadu@yandex.com>2017-01-18 22:10:46 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-01-25 02:54:45 +0100
commiteedb8b0526f40fec443eded27fef870e69db10b8 (patch)
treec55fc3a89f0454bf701b664bcce7197d362a2573
parentce341d76bd8771a89ef46fb2627cc92b7e4f36c9 (diff)
downloadaports-eedb8b0526f40fec443eded27fef870e69db10b8.tar.bz2
aports-eedb8b0526f40fec443eded27fef870e69db10b8.tar.xz
main/aria2: upgrade to 1.31.0
-rw-r--r--main/aria2/APKBUILD19
1 files changed, 8 insertions, 11 deletions
diff --git a/main/aria2/APKBUILD b/main/aria2/APKBUILD
index ea6d0cd57c..5f431b9d79 100644
--- a/main/aria2/APKBUILD
+++ b/main/aria2/APKBUILD
@@ -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"