void-packages/srcpkgs/perl-DateTime/template
2021-09-08 11:54:10 +02:00

20 lines
850 B
Bash

# Template file for 'perl-DateTime'
pkgname=perl-DateTime
version=1.54
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=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"