updpkg: 8.6.0

This commit is contained in:
Observer of Time 2024-01-31 16:30:04 +02:00
parent 06fc85f864
commit 92db28e964
Signed by: chronobserver
GPG Key ID: 8A2DEA1DBAEBCA9E
2 changed files with 15 additions and 28 deletions

View File

@ -1,8 +1,8 @@
pkgbase = curl-http3-nghttp3
pkgdesc = A URL retrieval utility and library - compiled with HTTP/3 support
pkgver = 8.5.0.r195.g0535f6e
pkgrel = 2
url = https://curl.haxx.se
pkgver = 8.6.0
pkgrel = 1
url = https://curl.se
arch = x86_64
license = MIT
makedepends = git
@ -12,20 +12,19 @@ pkgbase = curl-http3-nghttp3
depends = ca-certificates
depends = krb5
depends = libidn2
depends = libnghttp2
depends = libnghttp3
depends = libpsl
depends = libssh2
depends = openssl>=3.2
depends = zlib
depends = zstd
provides = curl=8.5.0
provides = curl-http3=8.5.0
provides = curl=8.6.0
provides = curl-http3=8.6.0
provides = libcurl.so=4-64
conflicts = curl
conflicts = curl-http3
options = staticlibs
source = git+https://github.com/curl/curl#commit=0535f6e
source = https://curl.se/download/curl-8.6.0.tar.bz2
sha256sums = SKIP
pkgname = curl-http3-nghttp3

View File

@ -2,42 +2,30 @@
# based on curl-http3-msquic
pkgname=curl-http3-nghttp3
pkgver=8.5.0.r195.g0535f6e
pkgrel=2
pkgver=8.6.0
pkgrel=1
pkgdesc="A URL retrieval utility and library - compiled with HTTP/3 support"
arch=('x86_64')
url="https://curl.haxx.se"
url="https://curl.se"
license=('MIT')
depends=('brotli' 'c-ares' 'ca-certificates' 'krb5'
'libidn2' 'libnghttp2' 'libnghttp3' 'libpsl'
'libssh2' 'openssl>=3.2' 'zlib' 'zstd')
'libidn2' 'libnghttp3' 'libpsl' 'libssh2'
'openssl>=3.2' 'zlib' 'zstd')
makedepends=('git' 'perl')
conflicts=('curl' 'curl-http3')
provides=("curl=${pkgver%.r*}" "curl-http3=${pkgver%.r*}" 'libcurl.so=4-64')
source=("git+https://github.com/curl/curl#commit=0535f6e")
source=("${url}/download/curl-${pkgver}.tar.bz2")
sha256sums=('SKIP')
options=('staticlibs')
pkgver() {
cd "${srcdir}/curl"
git describe --long --abbrev=7 | \
sed 's/^curl-//;s/\([^-]*-g\)/r\1/;s/[-_]/./g'
}
prepare() {
cd "${srcdir}/curl"
# osslq: remove the TLS library from the version output
git cherry-pick -n e17b89db8fb569d1fc32e1ca5ab50abe42b023e8
}
build() {
mkdir -p build-curl
cd "${srcdir}/curl"
cd "${srcdir}/curl-${pkgver}"
autoreconf -fi
cd "${srcdir}/build-curl"
"${srcdir}"/curl/configure \
"${srcdir}/curl-${pkgver}"/configure \
--prefix=/usr \
--mandir=/usr/share/man \
--with-libssh2 \
@ -64,6 +52,6 @@ package() {
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" install -C scripts
cd "${srcdir}/curl"
cd "${srcdir}/curl-${pkgver}"
install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m0644 COPYING
}