void-packages/srcpkgs/perl-Module-Build/template

23 lines
682 B
Bash

# Template file for 'perl-Module-Build'
pkgname=perl-Module-Build
version=0.4231
revision=3
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl"
makedepends="${hostmakedepends}"
depends="${makedepends}"
short_desc="Module::Build - Build and install Perl modules"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Artistic-1.0-Perl, GPL-1.0-or-later"
homepage="https://metacpan.org/release/Module-Build"
distfiles="${CPAN_SITE}/Module/${pkgname/perl-/}-${version}.tar.gz"
checksum=7e0f4c692c1740c1ac84ea14d7ea3d8bc798b2fb26c09877229e04f430b2b717
pre_configure() {
unset XBPS_CROSS_BASE
}
post_install() {
rm -rf ${DESTDIR}/usr/share/doc/perl
}