# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-text-glob _pkgreal=Text-Glob pkgver=0.11 pkgrel=4 pkgdesc="match globbing patterns against text" url="https://metacpan.org/release/Text-Glob" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl" makedepends="perl-module-build" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/Text-Glob-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { if [ -e Build.PL ]; then perl Build.PL installdirs=vendor else PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor fi } build() { make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="20322fee3f56ee7e65f0f8e5371d9dbbe89895d8b9c9207486e7934e29bd883fb557c9765e406f85f56b67019293d82a0318ded83a9387b164cb5e8f58bef0cb Text-Glob-0.11.tar.gz"