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

recipes/core/libssh2/PAGBUILD.yaml main

30 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930
pkgname: libssh2
pkgver: '1.11.1'
pkgrel: '2'
pkgdesc: 'A library implementing the SSH2 protocol as defined by Internet Drafts'
url: 'https://www.libssh2.org/'
arch: x86_64
depends: []
makedepends:
- openssl
- zlib

source:
- 'security_fixes-1.patch'
- 'https://www.libssh2.org/download/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP
- SKIP

build: |
  # Uwaga: było tu PODWÓJNE `cd libssh2-1.11.1` (drugi raz już WEWNĄTRZ
  # katalogu źródłowego → "No such file or directory"). Zostawiamy jedno.
  cd ${pkgname}-${pkgver}
  patch -Np1 -i ../security_fixes-1.patch
  ./configure --prefix=/usr
  make
  make DESTDIR="${PKGDIR}" install

package: |
  rm -f ${PKGDIR}/usr/lib/libssh2.la