# Compiling Time: 0.30 SBU # Contributor: voroskoi # Maintainer: DeX77 pkgname=libssh2 pkgver=1.9.0 pkgrel=2 pkgdesc="libssh2 is a library implementing the SSH2 protocol as defined by Internet Drafts." url="http://www.libssh2.org" groups=('base') archs=('x86_64') depends=('openssl>=1.1.1-2' 'zlib>=1.2.11-13') makedepends=('gcc>=9.2.1') up2date="Flasttar $url" source=(http://www.libssh2.org/download/$pkgname-$pkgver.tar.gz) sha1sums=('21e98282b103307a16792e5e2d4c99beaf0b3b9c') ## pacman Fconfopts+=" --enable-static" options+=('static') subpkgs=("${pkgname}-static") subdescs=("Static files for $pkgname") subdepends=('') subgroups=('devel-extra') subarchs=('x86_64') build() { export NM=gcc-nm Fbuild Fsplit $pkgname-static usr/lib/*.a } # optimization OK