[arch-commits] Commit in (4 files)

Thore Bödecker foxxx0 at archlinux.org
Tue May 30 15:49:24 UTC 2017


    Date: Tuesday, May 30, 2017 @ 15:49:23
  Author: foxxx0
Revision: 231301

import package from AUR with small adjustments

Added:
  perl-convert-tnef/
  perl-convert-tnef/repos/
  perl-convert-tnef/trunk/
  perl-convert-tnef/trunk/PKGBUILD

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

Added: perl-convert-tnef/trunk/PKGBUILD
===================================================================
--- perl-convert-tnef/trunk/PKGBUILD	                        (rev 0)
+++ perl-convert-tnef/trunk/PKGBUILD	2017-05-30 15:49:23 UTC (rev 231301)
@@ -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=4
+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
+}


Property changes on: perl-convert-tnef/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list