# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-net-appliance-session _pkgreal=Net-Appliance-Session pkgver=4.300005 pkgrel=4 pkgdesc="Run command-line sessions to network appliances" url="https://metacpan.org/release/Net-Appliance-Session/" arch="noarch" license="GPL PerlArtistic" cpandepends="perl-moose perl-net-cli-interact perl-file-sharedir perl-text-glob perl-io perl-term-readpassword perl-io-prompt-tiny" cpanmakedepends="perl-module-build perl-namespace-autoclean perl-specio perl-params-validationcompiler" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/O/OL/OLIVER/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` perl Build.PL installdirs=vendor } build() { export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` ./Build } check() { ./Build test } package() { ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="f63ce4ec1ac8fbe30de93184a01ee7e00f4e0d1eafd16c6778863608d5e310be9ae26adb15ef86d1e7add9ad8e1ba3998cded5d40ca1e6d936277f2cb1c6e2c3 Net-Appliance-Session-4.300005.tar.gz"