[arch-commits] Commit in perl-mail-message/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 12:27:55 UTC 2018
Date: Wednesday, August 1, 2018 @ 12:27:54
Author: foutrelis
Revision: 366805
archrelease: copy trunk to community-staging-any
Added:
perl-mail-message/repos/community-staging-any/
perl-mail-message/repos/community-staging-any/PKGBUILD
(from rev 366804, perl-mail-message/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: perl-mail-message/repos/community-staging-any/PKGBUILD (from rev 366804, perl-mail-message/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 12:27:54 UTC (rev 366805)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+
+pkgname='perl-mail-message'
+pkgver=3.003
+pkgrel=2
+pkgdesc="container for MIME-encoded message information"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl' 'perl-user-identity' 'perl-mailtools' 'perl-mime-types'
+ 'perl-io-stringy' 'perl-uri')
+makedepends=()
+url='http://search.mcpan.org/dist/Mail-Message'
+source=("http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/Mail-Message-$pkgver.tar.gz")
+sha256sums=('0ed210b9576ef6656ae108d0160c2795499807f8864ca5835308752e70c9e16d')
+
+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/Mail-Message-$pkgver"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$srcdir/Mail-Message-$pkgver"
+
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir/Mail-Message-$pkgver"
+ make install
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
More information about the arch-commits
mailing list