[arch-commits] Commit in perl-mail-message/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 24 11:33:08 UTC 2021
Date: Monday, May 24, 2021 @ 11:33:07
Author: felixonmars
Revision: 944590
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 944581, perl-mail-message/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: perl-mail-message/repos/community-staging-any/PKGBUILD (from rev 944581, perl-mail-message/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 11:33:07 UTC (rev 944590)
@@ -0,0 +1,42 @@
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+
+pkgname='perl-mail-message'
+pkgver=3.007
+pkgrel=4
+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