blob: 0842d9676fa9bdc1d6a944780ea5cb92392a7f95 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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.37
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="38228a04f346b50f8444d446440d63e51ee583cc2dd58b275c44aaeff43bfdee750156e4c8f046db6eb36b372026429e6e7e37000ee9d9a9fef0568f13f21a16 DateTime-Locale-1.37.tar.gz"
|