# Automatically generated by apkbuild-cpan, template 3 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-net-cli-interact #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Net-CLI-Interact pkgver=2.300005 pkgrel=0 pkgdesc="Toolkit for CLI Automation" url="https://metacpan.org/release/Net-CLI-Interact/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends=" perl perl-moo perl-log-dispatch-configurator-any perl-path-class perl-log-dispatch-config perl-ipc-run perl-moox-types-mooselike perl-io-tty perl-class-load perl-net-telnet perl-class-mix perl-file-sharedir perl-config-any perl-sub-quote " makedepends="perl-dev perl-module-build" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/O/OL/OLIVER/Net-CLI-Interact-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') perl Build.PL --installdirs=vendor ./Build } check() { ./Build test } package() { ./Build install --destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" 1791aecfb9f1ca59b8d054ecb995f02613ac0d305f9c3a89db9a851ee2bfc60d9d984b6a73e55b300dcb1ea47907698ec31db62306980703db86791899f413be Net-CLI-Interact-2.300005.tar.gz "