void-packages/srcpkgs/perl-CPAN-Meta-Requirements.../template

22 lines
880 B
Bash

# Template file for 'perl-CPAN-Meta-Requirements-Range'
# This is a hack as core Perl ships with a part of this library.
pkgname=perl-CPAN-Meta-Requirements-Range
version=2.143
revision=1
build_style=perl-module
hostmakedepends="perl"
makedepends="${hostmakedepends}"
depends="${makedepends}"
short_desc="CPAN::Meta::Requirements::Range - a set of version requirements for a CPAN dist"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Artistic-1.0-Perl, GPL-1.0-or-later"
homepage="https://metacpan.org/release/CPAN-Meta-Requirements"
distfiles="${CPAN_SITE}/CPAN/CPAN-Meta-Requirements-${version}.tar.gz"
checksum=6ec7e4697bb5a8cea0ee3c8bd5d4b20ce086168a8084778d6e7a4c37356fdf8b
post_install() {
# remove parts packaged in core perl
rm -f ${DESTDIR}/usr/share/man/man3/CPAN::Meta::Requirements.3p
rm -f ${DESTDIR}/usr/share/perl5/vendor_perl/CPAN/Meta/Requirements.pm
}