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

24 lines
675 B
Bash

# Template file for 'perl-Module-Build'
pkgname=perl-Module-Build
version=0.4231
revision=1
archs=noarch
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>"
homepage="https://metacpan.org/release/Module-Build"
license="Artistic, GPL-1"
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
}