jobextra/wget/PKGBUILD

68 lines
1.9 KiB
Bash
Raw Permalink Normal View History

2022-03-20 13:34:07 +01:00
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
2022-03-20 13:34:07 +01:00
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
2022-03-20 13:34:07 +01:00
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=wget
pkgver=1.24.5
2024-05-06 19:03:24 +02:00
pkgrel=02
2022-03-20 13:34:07 +01:00
pkgdesc='Network utility to retrieve files from the Web'
url='https://www.gnu.org/software/wget/wget.html'
groups=( jobbot )
depends=('glibc' 'zlib' 'gnutls' 'libidn2' 'libidn2.so' 'util-linux-libs' 'libuuid.so'
'libpsl' 'libpsl.so' 'pcre2' 'nettle' 'libnettle.so')
checkdepends=('perl-http-daemon' 'perl-io-socket-ssl' 'python')
optdepends=('ca-certificates: HTTPS downloads')
makedepends=('perl-http-daemon' 'perl-io-socket-ssl' 'python')
backup=('etc/wgetrc')
source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.lz{,.sig})
prepare() {
cd ${pkgname}-${pkgver}
cat >> doc/sample.wgetrc <<EOF
# default root certs location
ca_certificate=/etc/ssl/certs/ca-certificates.crt
EOF
}
build() {
cd ${pkgname}-${pkgver}
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-rpath \
--enable-nls \
--with-ssl=gnutls
make
}
check() {
cd ${pkgname}-${pkgver}
make check < /dev/null
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
2022-03-20 13:34:07 +01:00
license=('GPL3')
validpgpkeys=(AC404C1C0BF735C63FF4D562263D6DF2E163E1EA # Giuseppe Scrivano <gscrivano@gnu.org>
7845120B07CBD8D6ECE5FF2B2A1743EDA91A35B6 # Darshit Shah <darnir@gnu.org>
1CB27DBC98614B2D5841646D08302DB6A2670428) # Tim Rühsen <tim.ruehsen@gmx.de>
2022-03-20 13:34:07 +01:00
sha256sums=(57a107151e4ef94fdf94affecfac598963f372f13293ed9c74032105390b36ee # wget-1.24.5.tar.lz
4792f4995cd06a6d3dd1243fcded80d21c62f5f3e559ba1fbafe48b947fb52f1) # wget-1.24.5.tar.lz.sig
2024-05-06 19:03:24 +02:00
## 8c75794274e482eccbcef07c7c2c31a2bd203cfbda9e558d1b887ee7fe1d6185 wget-1.24.5-02-x86_64.pkg.tar.lz