# Automatically generated by apkbuild-cpan, template 3 # Contributor: Milan P. Stanić # Maintainer: Milan P. Stanić pkgname=perl-object-pad #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Object-Pad pkgver=0.79 pkgrel=1 pkgdesc="a simple syntax for lexical slot-based objects" url="https://metacpan.org/release/Object-Pad/" arch="all" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-xs-parse-sublike perl-xs-parse-keyword" makedepends="perl-dev perl-module-build" checkdepends="perl-test-refcount perl-data-dump perl-test-fatal perl-test2-suite" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Object-Pad-$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=" 02ed569364b8c7c4c2535af3e3ffeab73ce2eae359e0ef1fdaac4a288af10c1155da85c5a0b26b85780c32f59d480090bc914e62d35296be9434afb5a7127fe8 Object-Pad-0.79.tar.gz "