Date: Saturday, May 25, 2019 @ 11:35:53 Author: foutrelis Revision: 470386
archrelease: copy trunk to community-staging-x86_64 Added: perl-datetime-format-builder/repos/community-staging-x86_64/ perl-datetime-format-builder/repos/community-staging-x86_64/PKGBUILD (from rev 470385, perl-datetime-format-builder/trunk/PKGBUILD) ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: perl-datetime-format-builder/repos/community-staging-x86_64/PKGBUILD (from rev 470385, perl-datetime-format-builder/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-05-25 11:35:53 UTC (rev 470386) @@ -0,0 +1,29 @@ +# Contributor: Caleb Cushing <xenoterrac...@gmail.com> + +pkgname=perl-datetime-format-builder +pkgver=0.8100 +pkgrel=5 +pkgdesc="Create DateTime parser classes and objects" +arch=('x86_64') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +provides=('perl-datetime-format-builder=0.80') +depends=('perl' 'perl-class-factory-util>=1.6' 'perl-datetime>=0.12' 'perl-datetime-format-strptime>=1.04' 'perl-params-validate>=0.72') +url='https://search.cpan.org/dist/DateTime-Format-Builder' +source=('https://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Builder-0.80.tar.gz') +md5sums=('f6c5d5a17b5b7478ff555a2d3cce5136') + +build() { + export PERL_MM_USE_DEFAULT=1 + + cd "${srcdir}/DateTime-Format-Builder-0.80" + perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "${srcdir}/DateTime-Format-Builder-0.80" + make DESTDIR="$pkgdir" install + + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +}