void-packages/srcpkgs/perl-DateTime/template

20 lines
666 B
Bash

# Template build file for 'perl-DateTime'.
pkgname=perl-DateTime
version=1.28
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl"
makedepends="${hostmakedepends}"
depends="perl perl-DateTime-Locale perl-DateTime-TimeZone perl-Params-Validate perl-Try-Tiny"
short_desc="A date and tie object for perl"
maintainer="John Regan <john@jrjrtech.com>"
homepage="http://search.cpan.org/dist/DateTime"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/DateTime/${pkgname/perl-/}-$version.tar.gz"
checksum=781a25ab7dada202c917f6c5db06f6d9e6f03d5a395e91afab478ba074e75787
post_configure() {
sed -i 's/-mtune=generic//g' Makefile
}