void-packages/srcpkgs/perl-DateTime/template

21 lines
838 B
Bash

# Template file for 'perl-DateTime'
pkgname=perl-DateTime
version=1.50
revision=4
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl"
makedepends="perl-DateTime-Locale perl-DateTime-TimeZone"
checkdepends="perl-CPAN-Meta-Check perl-Test-Fatal perl-Test-Warnings"
depends="$makedepends"
short_desc="A 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=ed6b0c71ddd81310a82459508df9197074e6b13aea46fd279045c3ddc3c4b198
# 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"