Files
LFS-PKGBUILDs/net-misc/wget-1.25.0.PKGBUILD
2025-03-14 01:49:41 -04:00

29 lines
586 B
Plaintext

pkgname=wget
pkgver=1.25.0
pkgdesc='Network utility to retrieve files from the Web'
homepage='https://www.gnu.org/software/wget/wget.html'
license=('GPL3')
sources=("${pkgname}-${pkgver}.tar.gz")
urls=(https://ftp.gnu.org/gnu/${pkgname}/${sources[0]})
md5sums=('c70ba58b36f944e8ba1d655ace552881')
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-ssl=openssl &&
make
}
src_test() {
make check
}
src_install() {
make DESTDIR="${pkgdir}" install
}