38 lines
791 B
Text
38 lines
791 B
Text
|
# 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")
|
||
|
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-libssh2 \
|
||
|
--with-random="/dev/urandom" \
|
||
|
--with-openssl \
|
||
|
--disable-versioned-symbols
|
||
|
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $pkgname-$pkgver
|
||
|
|
||
|
make DESTDIR=$pkgdir install
|
||
|
}
|