# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> pkgname=perl-mixin-linewise pkgver=0.108 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" depends="perl-perlio-utf8_strict perl-sub-exporter" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Mixin-Linewise-$pkgver.tar.gz" builddir="$srcdir/Mixin-Linewise-$pkgver" build() { cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="2789126737e2798a94ab6d90614503717dbc6c4178d19a9dd1e32689869e8e1298ec168fd6ab53580e65b5ad7ff94e065dca4afb7b71c2bb453810da61d29450 Mixin-Linewise-0.108.tar.gz"