bump curl

This commit is contained in:
Ella Stanforth 2022-02-12 13:31:24 +00:00
parent 2bcdcf8183
commit cfb8c64e69
2 changed files with 5 additions and 15 deletions

View file

@ -1,11 +1,10 @@
pkgver=7.79.0 pkgver=7.81.0
pkg_ver=$(echo $pkgver | tr '.' '_') pkg_ver=$(echo $pkgver | tr '.' '_')
pkgname=curl pkgname=curl
pkgrel=1 pkgrel=1
mkdeps="samu:cmake" mkdeps="samu:cmake"
deps="openssl" deps="openssl"
bad="" bad=""
ext="doc:dev"
fetch() { fetch() {
curl -L "https://github.com/curl/curl/releases/download/curl-$pkg_ver/curl-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.gz curl -L "https://github.com/curl/curl/releases/download/curl-$pkg_ver/curl-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.gz
@ -19,7 +18,8 @@ build() {
cmake -G Ninja ../ \ cmake -G Ninja ../ \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_LIBDIR=lib \
-DCURL_CA_BUNDLE="/etc/ssl/cert.pem"
samu samu
} }
@ -27,20 +27,10 @@ package() {
cd $pkgname-$pkgver cd $pkgname-$pkgver
cd build cd build
DESTDIR=$pkgdir samu install DESTDIR=$pkgdir samu install
rm -r $pkgdir/usr/share
rm -r $pkgdir/usr/include
rm -r $pkgdir/usr/lib/pkgconfig
rm -r $pkgdir/usr/lib/cmake
} }
package_dev() { backup() {
cd $pkgname-$pkgver return
cd build
DESTDIR=$pkgdir samu install
rm -r $pkgdir/usr/share
rm -r $pkgdir/usr/bin
rm $pkgdir/usr/lib/*.so
rm $pkgdir/usr/lib/*.so.*
} }
license() { license() {

Binary file not shown.