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

24 lines
675 B
Bash

# Template file for 'perl-Module-Build'
pkgname=perl-Module-Build
version=0.4229
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=1fe491a6cda914b01bc8e592faa2b5404e9f35915ca15322f8f2a8d8f9008c18
pre_configure() {
unset XBPS_CROSS_BASE
}
post_install() {
rm -rf ${DESTDIR}/usr/share/doc/perl
}