curl 8.7.1-2

This commit is contained in:
xhaa123 2024-05-09 11:36:37 +08:00
parent 0735912fd4
commit 3754ff16be

View File

@ -6,23 +6,26 @@
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=curl
pkgver=8.7.1
pkgrel=1
pkgrel=2
pkgdesc="command line tool and library for transferring data with URLs"
arch=('x86_64')
url="https://curl.se/"
license=('MIT')
depends=('zlib' 'zstd' 'libpsl' 'ca-certificates')
depends=('zlib' 'zstd' 'libpsl' 'ca-certificates' 'brotli' 'krb5' 'libidn2' 'libnghttp2' 'libssh2')
source=(https://curl.se/download/${pkgname}-${pkgver}.tar.xz)
sha256sums=(6fea2aac6a4610fbd0400afb0bcddbe7258a64c63f1f68e5855ebc0c659710cd)
build() {
cd ${pkgname}-${pkgver}
${CONFIGURE} \
--disable-static \
--with-openssl \
--enable-threaded-resolver \
--with-ca-path=/etc/ssl/certs
${CONFIGURE} \
--disable-static \
--with-openssl \
--enable-ipv6 \
--with-gssapi \
--with-libssh2 \
--enable-threaded-resolver \
--with-ca-path=/etc/ssl/certs
make
}