# Contributor: Síle Ekaterin Liszka # Maintainer: Adélie Perl Team pkgname=perl-sgmls _pkgreal=SGMLSpm _author=RAAB _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=1.1 pkgrel=0 pkgdesc="Perl module for processing output from sgmls and nsgmls" url="https://metacpan.org/pod/release/RAAB/SGMLSpm-1.1/lib/SGMLS.pm" arch="noarch" license="GPL-2.0-only" depends="perl" makedepends="" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { chmod -R ug+w "$builddir" default_prepare } 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="0ca3f0f3265f20661ae88ad4764fbf82f226382f79f62c01653265cc7372524dfdf30ce5abffc0344624f5e6138e483952471f8c18d59794b40035af0b7526bc SGMLSpm-1.1.tar.gz"