pkgs/curl/PKGBUILD

38 lines
810 B
Text
Raw Permalink Normal View History

2023-12-08 03:28:18 +00:00
# Maintainer: Daryl Ronningen <relms@relms.dev>
pkgname=curl
pkgver=8.5.0
pkgrel=1
pkgdesc="command line tool and library for transferring data with URLs"
arch=("x86_64")
url="https://curl.se/"
license=("MIT")
2023-12-11 13:18:00 +00:00
depends=("libressl" "zstd" "zlib-ng")
2023-12-08 03:28:18 +00:00
source=("https://github.com/curl/curl/releases/download/curl-${pkgver//./_}/curl-$pkgver.tar.xz")
sha256sums=("42ab8db9e20d8290a3b633e7fbb3cec15db34df65fd1015ef8ac1e4723750eeb")
build() {
cd $pkgname-$pkgver
./configure \
--prefix="/usr" \
--mandir="/usr/share/man" \
--disable-ldap \
--disable-ldaps \
--disable-manual \
--enable-ipv6 \
--enable-threaded-resolver \
--with-gssapi \
--with-random="/dev/urandom" \
--with-openssl \
--disable-versioned-symbols
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
}