void-packages/srcpkgs/perl-DateTime/template

21 lines
850 B
Bash

# Template file for 'perl-DateTime'
pkgname=perl-DateTime
version=1.52
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl"
makedepends="perl-DateTime-Locale perl-DateTime-TimeZone"
depends="$makedepends"
checkdepends="perl-CPAN-Meta-Check perl-Test-Fatal perl-Test-Warnings"
short_desc="Date and time object for Perl"
maintainer="John Regan <john@jrjrtech.com>"
license="Artistic-1.0-Perl, GPL-1.0-or-later"
homepage="https://metacpan.org/release/DateTime"
distfiles="${CPAN_SITE}/DateTime/${pkgname/perl-/}-${version}.tar.gz"
checksum=67828b6172b23d9534b8f2a593b05caa6240737a3b2246f3e1fe4e015dbc3dfc
# This isn't a direct dependency but when soname bumping perl it will
# cause build failures
hostmakedepends+=" perl-Package-Stash-XS perl-Sub-Identify perl-Variable-Magic perl-Params-Util perl-Sub-Name"