blob: 998040ecb247ec54e9326ad874782b59e30ab53f (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-datetime-locale
_pkgreal=DateTime-Locale
_author=DROLSKY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.39
pkgrel=0
pkgdesc="Locale support for Perl DateTime"
url="https://metacpan.org/release/DateTime-Locale"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl-dist-checkconflicts perl-file-sharedir perl-file-sharedir-install
perl-ipc-system-simple perl-namespace-autoclean
perl-params-validationcompiler perl"
checkdepends="perl-specio perl-test-fatal perl-test-file-sharedir
perl-test-requires perl-test-warnings perl-test2-suite
perl-test2-plugin-nowarnings"
makedepends="perl-dev perl-cpan-meta-check perl-dist-checkconflicts"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="3932f6406e8c0d2afaac9c15bade891ea9c373ce1b981516611a3d8861da5ce0d20c20db7e8f0e5a4316c3b9fed5797bcf307bc84073d37e9bc433cbb8858c79 DateTime-Locale-1.39.tar.gz"
|