new: net-misc/wget-1.24.5.PKGBUILD
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
pkgname=wget
|
||||||
|
pkgver=1.24.5
|
||||||
|
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}/${pkgname}-${pkgver}.tar.gz)
|
||||||
|
md5sums=('')
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${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
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user