[arch-commits] Commit in perl-convert-tnef/repos (2 files)

Florian Pritz bluewind at archlinux.org
Wed Aug 1 12:27:42 UTC 2018


    Date: Wednesday, August 1, 2018 @ 12:27:42
  Author: bluewind
Revision: 366803

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 366802, perl-convert-tnef/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: perl-convert-tnef/repos/community-staging-any/PKGBUILD (from rev 366802, perl-convert-tnef/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 12:27:42 UTC (rev 366803)
@@ -0,0 +1,42 @@
+# Maintainer: Thore Bödecker <foxxx0 at 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=6
+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
+}



More information about the arch-commits mailing list