1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Maintainer: Eric Bélanger <eric@archlinux.org>
7 pkgdesc='Network utility to retrieve files from the Web'
8 url='https://www.gnu.org/software/wget/wget.html'
11 depends=('glibc' 'zlib' 'gnutls' 'libidn2' 'libidn2.so' 'util-linux-libs' 'libuuid.so'
12 'libpsl' 'libpsl.so' 'pcre2' 'nettle' 'libnettle.so')
13 checkdepends=('perl-http-daemon' 'perl-io-socket-ssl' 'python')
14 optdepends=('ca-certificates: HTTPS downloads')
16 source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.lz{,.sig})
17 sha256sums=('dbd2fb5e47149d4752d0eaa0dac68cc49cf20d46df4f8e326ffc8f18b2af4ea5'
19 b2sums=('e57cb9ea883fb9ed07065b6912238bcc10f4dfd4bd961a363c98ca9321086b75a49f9c7eb03e7704712cb03e43d40f1b74a4d9f5ac2ed142e41f0422a13de275'
22 'AC404C1C0BF735C63FF4D562263D6DF2E163E1EA' # Giuseppe Scrivano <gscrivano@gnu.org>
23 '7845120B07CBD8D6ECE5FF2B2A1743EDA91A35B6' # Darshit Shah <darnir@gnu.org>
24 '1CB27DBC98614B2D5841646D08302DB6A2670428' # Tim Rühsen <tim.ruehsen@gmx.de>
28 cd ${pkgname}-${pkgver}
29 cat >> doc/sample.wgetrc <<EOF
31 # default root certs location
32 ca_certificate=/etc/ssl/certs/ca-certificates.crt
37 cd ${pkgname}-${pkgver}
48 cd ${pkgname}-${pkgver}
49 make check < /dev/null
53 cd ${pkgname}-${pkgver}
54 make DESTDIR="${pkgdir}" install