Initial commit
This commit is contained in:
commit
8b83dcf789
|
@ -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
|
||||
|
|
@ -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.
|
|
@ -0,0 +1,66 @@
|
|||
# Maintainer: ObserverOfTime <chronobserver@disroot.org>
|
||||
# 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
|
||||
}
|
Loading…
Reference in New Issue