pkgname=curl
pkgver=7.83.1
pkgrel=2
arch=('armv7h' 'aarch64')
license=('unknown')
source=("$pkgname-$pkgver.tar.xz")
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr \
--disable-static --with-openssl \
--enable-threaded-resolver \
--with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt
make
}
package() {
provides=("libcurl.so")
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
rm -rf docs/examples/.deps
find docs \( -name "Makefile*" -o -name "*.1" -o -name "*.3" \) -exec rm {} \;
install -v -d -m755 "$pkgdir"/usr/share/doc/curl-$pkgver
cp -v -R docs/* "$pkgdir"/usr/share/doc/curl-$pkgver
}
sha256sums=('2cb9c2356e7263a1272fd1435ef7cdebf2cd21400ec287b068396deb705c22c4')