🔒 Repository is read-only – file editing is disabled.

recipes/core/wget/PAGBUILD.yaml main

34 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334
pkgname: wget
pkgver: '1.25.0'
pkgrel: '3'
pkgdesc: 'Utility for non-interactive download of files using HTTP, HTTPS and FTP.'
url: 'http://www.gnu.org/software/wget/'
arch: x86_64
depends: []
makedepends:
- perl
- libpsl

source:
- 'https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- 766e48423e79359ea31e41db9e5c289675947a7fcf2efdcedb726ac9d0da3784

build: |
  cd ${pkgname}-${pkgver}
  NEW_LINE='#if !defined OPENSSL_NO_SSL3_METHOD '
  NEW_LINE+='&& OPENSSL_VERSION_NUMBER < 0x40000000L'
  sed -i "/SSL3/c $NEW_LINE" src/openssl.c
  unset NEW_LINE
  ./configure --prefix=/usr \
  --sysconfdir=/etc \
  --with-ssl=openssl \
  --disable-debug \
  --mandir=/usr/share/man \
  --infodir=/usr/share/info
  make
  make DESTDIR=${PKGDIR} install

package: |
  true