diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-17 22:57:47 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-17 22:57:47 +0000 |
commit | 71c6bd01c6031a072b2426e0a53b26dd80d7a5d6 (patch) | |
tree | bec8d7f6bbae499ae5210d6c1f11c01540915baf | |
parent | ab67748386f28886b0353b57c14f59c5061cd147 (diff) | |
download | packages-71c6bd01c6031a072b2426e0a53b26dd80d7a5d6.tar.gz packages-71c6bd01c6031a072b2426e0a53b26dd80d7a5d6.tar.bz2 packages-71c6bd01c6031a072b2426e0a53b26dd80d7a5d6.tar.xz packages-71c6bd01c6031a072b2426e0a53b26dd80d7a5d6.zip |
user/perl-datetime-locale: new package
-rw-r--r-- | user/perl-datetime-locale/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/user/perl-datetime-locale/APKBUILD b/user/perl-datetime-locale/APKBUILD new file mode 100644 index 000000000..a70b6872b --- /dev/null +++ b/user/perl-datetime-locale/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-datetime-locale +_pkgname=DateTime-Locale +pkgver=1.23 +pkgrel=0 +pkgdesc="Locale support for Perl DateTime" +url="https://metacpan.org/release/DateTime-Locale" +arch="noarch" +license="Artistic-1.0-Perl OR GPL-2.0-only" +depends="perl-dist-checkconflicts perl-file-sharedir perl-file-sharedir-install + perl-ipc-system-simple perl-namespace-autoclean + perl-params-validationcompiler" +checkdepends="perl-specio perl-test-fatal perl-test-file-sharedir + perl-test-requires perl-test-warnings" +makedepends="perl-dev perl-cpan-meta-check perl-dist-checkconflicts" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-$pkgver.tar.gz" +builddir="$srcdir/DateTime-Locale-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="4404f6e5301b7623253e788b127fd59fffb1a4b24d97878168d8d9244bafb383424b9664ab78dbafe83bbd6cfa3d4686d4a4375a729c8fad157f36905868c884 DateTime-Locale-1.23.tar.gz" |