#!/bin/mkpkg # description: Network downloader with HTTP/2 and parallel fetch support # url: https://gitlab.com/gnuwget/wget2 name=wget _name=wget2 version=2.2.1 release=2 depends=(libressl zlib zstd) makedeps=() lockbox=(yes) source=(https://ftp.gnu.org/gnu/wget/wget2-$version.tar.gz) sha256sums=( "d7544b13e37f18e601244fce5f5f40688ac1d6ab9541e0fbb01a32ee1fb447b4" ) build() { cd $_name-$version ./configure \ --prefix=/usr \ --bindir=/bin \ --libdir=/lib \ --with-ssl=openssl \ --without-libpsl \ --without-libhsts \ --without-libnghttp2 \ --without-gpgme \ --without-libpcre2 \ --without-libpcre \ --without-libmicrohttpd \ --without-libidn2 \ --without-libidn \ --without-plugin-support \ --disable-nls \ --disable-doc make make DESTDIR=$PKG install rm $PKG/bin/wget2_noinstall ln -sf wget2 $PKG/bin/wget } signify() { untrusted comment: public key RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 } # vim: filetype=sh