blob: 24bbd5ceb51902d88009406b718563d79fa12740 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#!/bin/mkpkg
# description: Command line tool and library for transferring data with URLs
# url: https://curl.se/
name=curl
version=8.22.0
release=1
source=(https://curl.se/download/$name-$version.tar.xz)
depends=(libressl zlib zstd brotli)
sha256sums=(
"f7ef3ae8a22e521f289803fe93543eb64c329b58aa73a9e224dfd915a2a5f4f7"
)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--disable-static \
--disable-docs \
--disable-manual \
--enable-threaded-resolver \
--enable-ipv6 \
--with-openssl \
--with-ca-bundle=/etc/ssl/cert.pem \
--with-brotli \
--with-zstd \
--without-libpsl \
--without-librtmp \
--without-libidn2
make
make DESTDIR=$PKG install
rm -f $PKG/usr/lib/*.la
rm -rf $PKG/usr/share
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|