void-packages/srcpkgs/perl-DateTime/template
2019-10-05 15:25:47 +02:00

20 lines
852 B
Bash

# Template file for 'perl-DateTime'
pkgname=perl-DateTime
version=1.51
revision=1
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=de22da0de57a43a976322636d3a7474de4b1d6f37e044337123086cf94c16ec5
# 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"