void-packages/srcpkgs/perl-DateTime/template

20 lines
813 B
Bash

# Template file for 'perl-DateTime'
pkgname=perl-DateTime
version=1.54
revision=2
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="Orphaned <orphan@voidlinux.org>"
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=b12eda6d900713f227964dc4dc0e2efb86d294e8bc2f16be9e95b659f953b2e7
# 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"