[arch-commits] Commit in perl-mail-message/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 21 16:03:56 UTC 2020
Date: Sunday, June 21, 2020 @ 16:03:55
Author: felixonmars
Revision: 649585
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 649582, perl-mail-message/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: perl-mail-message/repos/community-staging-any/PKGBUILD (from rev 649582, perl-mail-message/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-06-21 16:03:55 UTC (rev 649585)
@@ -0,0 +1,42 @@
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+
+pkgname='perl-mail-message'
+pkgver=3.007
+pkgrel=3
+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='https://search.mcpan.org/dist/Mail-Message'
+source=("https://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/Mail-Message-$pkgver.tar.gz")
+sha256sums=('7601dc5d1bedc0b6338b8b8c0ce5360aa75e112cbc48bc22eb0d085e2232eec2')
+
+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