# Automatically generated by apkbuild-cpan, template 3 # Contributor: Timothy Legge # Maintainer: Timothy Legge pkgname=perl-authcas #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=AuthCAS pkgver=1.7 pkgrel=3 pkgdesc="Client library for JA-SIG CAS 2.0 authentication server" url="https://metacpan.org/release/AuthCAS/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-io-socket-ssl perl-libwww" makedepends="perl-module-build" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/O/OS/OSALAUN/AuthCAS-$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="10c85ca528bedfd2e54014be3e31ac748c2af923ed58c0af8a066abe213829cee0715a0c711e1e3591854f7bab5f56515e0c883ca0b0353d16170f100168c3be AuthCAS-1.7.tar.gz"