pkgs/curl/PKGBUILD

37 lines
810 B
Bash

# 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")
depends=("libressl" "zstd" "zlib-ng")
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
}