# Automatically generated by apkbuild-cpan, template 1 # Contributor: Leonardo Arena # Maintainer: Leonardo Arena pkgname=perl-boolean _pkgreal=boolean pkgver=0.46 pkgrel=1 pkgdesc="Boolean support for Perl" url="https://metacpan.org/release/boolean" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/I/IN/INGY/boolean-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="2a0d94fd6f5e01bac6b48536d3cd7197 boolean-0.46.tar.gz" sha256sums="95c088085c3e83bf680fe6ce16d8264ec26310490f7d1680e416ea7a118f156a boolean-0.46.tar.gz" sha512sums="910653882f501cbf9420d775a79a000c62632a98643ac5e9f3d99765652e7c8c073f251bc36f0b69c9b259762bebeaeac18376e78494977d912da538939bb296 boolean-0.46.tar.gz"