commit 8b83dcf7897def85bd64958e86d887af7c920b30 Author: ObserverOfTime Date: Sun Jan 17 14:19:27 2021 +0200 Initial commit diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..9478fb8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,29 @@ +pkgbase = aria2-openssl-git + pkgdesc = Download utility that supports HTTP(S), FTP, BitTorrent, and Metalink - built with OpenSSL + pkgver = 1.35.0.r16.gfaa6955c + pkgrel = 3 + url = https://aria2.github.io/ + arch = x86_64 + license = GPL + checkdepends = cppunit + makedepends = autoconf + makedepends = git + makedepends = python-sphinx + depends = bash-completion + depends = c-ares + depends = ca-certificates + depends = jemalloc + depends = libssh2 + depends = libuv + depends = libxml2 + depends = openssl + depends = sqlite + provides = aria2=1.35.0 + conflicts = aria2 + conflicts = aria2-git + options = staticlibs + source = aria2::git+https://github.com/tatsuhiro-t/aria2.git + sha256sums = SKIP + +pkgname = aria2-openssl-git + diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..dc9532d --- /dev/null +++ b/LICENSE @@ -0,0 +1,11 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + +Everyone is permitted to copy and distribute verbatim or modified +copies of this license document, and changing it is allowed as long +as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..e953cb5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,66 @@ +# Maintainer: ObserverOfTime +# Based on aria2-git + +pkgname=aria2-openssl-git +pkgver=1.35.0.r16.gfaa6955c +pkgrel=3 +pkgdesc="Download utility that supports HTTP(S), \ +FTP, BitTorrent, and Metalink - built with OpenSSL" +arch=('x86_64') +url='https://aria2.github.io/' +license=('GPL') +depends=( + 'bash-completion' + 'c-ares' + 'ca-certificates' + 'jemalloc' + 'libssh2' + 'libuv' + 'libxml2' + 'openssl' + 'sqlite' +) +makedepends=('autoconf' 'git' 'python-sphinx') +checkdepends=('cppunit') +conflicts=('aria2' 'aria2-git') +provides=("aria2=${pkgver%%.r*}") +options=('staticlibs') +source=("aria2::git+https://github.com/tatsuhiro-t/aria2.git") +sha256sums=('SKIP') + +pkgver() { + cd aria2 + git describe --long --tags | \ + sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/release.//' +} + +prepare() { + cd aria2 + aclocal && autoreconf -i +} + +build() { + cd aria2 + ./configure \ + --prefix=/usr \ + --enable-static \ + --enable-shared \ + --enable-libaria2 \ + --without-gnutls \ + --with-openssl \ + --with-jemalloc \ + --with-libuv \ + --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \ + --with-bashcompletiondir=/usr/share/bash-completion/completions + make +} + +check() { + cd aria2 + make check +} + +package() { + cd aria2 + make DESTDIR="$pkgdir" install +}