Date: Sunday, June 21, 2020 @ 16:21:39 Author: foutrelis Revision: 649751
archrelease: copy trunk to community-staging-any Added: perl-convert-tnef/repos/community-staging-any/ perl-convert-tnef/repos/community-staging-any/PKGBUILD (from rev 649750, perl-convert-tnef/trunk/PKGBUILD) ----------+ PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) Copied: perl-convert-tnef/repos/community-staging-any/PKGBUILD (from rev 649750, perl-convert-tnef/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2020-06-21 16:21:39 UTC (rev 649751) @@ -0,0 +1,42 @@ +# Maintainer: Thore Bödecker <fox...@archlinux.org> +# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> + +pkgname='perl-convert-tnef' +pkgver='0.18' +pkgrel=8 +pkgdesc="Perl module to read TNEF files" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-io-stringy' 'perl-mime-tools') +makedepends=() +url='https://metacpan.org/release/Convert-TNEF' +source=("https://cpan.metacpan.org/authors/id/D/DO/DOUGW/Convert-TNEF-${pkgver}.tar.gz") +sha512sums=('00cbe54169c535e6d6d3b53a06eb47808a129d6397c73b5f2b53b93efba20f81d078c16edb7b0108bc037e2cb7f1c92719633519ea17088442ea8f63864eaf07') +_distdir="Convert-TNEF-${pkgver}" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "${srcdir}/${_distdir}" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "${srcdir}/${_distdir}" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "${srcdir}/${_distdir}" + make install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +}