# Contributor: A. Wilcox # Maintainer: Síle Ekaterin Liszka pkgname=perl-mixin-linewise _pkgreal=Mixin-Linewise _author=RJBS _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=0.111 pkgrel=0 pkgdesc="Line-wise reader and writer for Perl strings" url="https://metacpan.org/release/Mixin-Linewise" arch="noarch" license="Artistic-1.0-Perl OR GPL-1.0+" depends="perl-perlio-utf8_strict perl-sub-exporter" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="282c9bbb825ee05f1d916fdfb1caad6c04a917a26c10ae18dc9883706e612915186c49a96209af254329f346bc731547a20ff2db136f0ceaf1edd5d21b120195 Mixin-Linewise-0.111.tar.gz"