blob: 871f56cff66dbedaafa3cc09b0569ad58ba3671e (
plain) (
tree)
|
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-cpan-changes
_pkgreal=CPAN-Changes
_author=HAARG
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.500003
pkgrel=0
pkgdesc="Perl module for validating CPAN Changes files"
url="https://metacpan.org/release/CPAN-Changes"
arch="noarch"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev perl-module-runtime perl-moo perl-type-tiny"
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="f5a9b088a76579288d69b963e344bf0d3d17d90b2600770bf2b2d74103b960ba71b16a22e0f3279c45474f62f639899611fbd5e25e3d659efa52c7995037b790 CPAN-Changes-0.500003.tar.gz"
|