# Automatically generated by apkbuild-cpan, template 3 # Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=perl-net-openssh #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Net-OpenSSH pkgver=0.84 pkgrel=1 pkgdesc="Perl SSH client package implemented on top of OpenSSH" options="!check" # make test is interactive url="https://metacpan.org/release/Net-OpenSSH/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/S/SA/SALVA/Net-OpenSSH-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor make } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" eae50ddc609654432c77080dbfd1dbfd76a7651a1a4e85c0a0f01547b329761a6676faabec931a3b4ff5c74bfa4f529cf649249ad57e73305e67b33da891a555 Net-OpenSSH-0.84.tar.gz "