# Contributor: A. Wilcox # Maintainer: Síle Ekaterin Liszka pkgname=perl-string-shellquote _pkgreal=String-ShellQuote _author=ROSCH _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=1.04 pkgrel=0 pkgdesc="Quote strings for passing through to the shell" url="https://metacpan.org/release/String-ShellQuote" arch="noarch" license="Artistic-1.0-Perl OR GPL-1.0+" depends="perl" 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="f5b472985fb9c15d5c82c03b5c6c90a3a545ada854b90a96cfb7b0f57b8a817707ed91ca0f20344a2b8d200fe365ea737a9b39b64d526310d41ac2466552236d String-ShellQuote-1.04.tar.gz"