[arch-commits] Commit in perl-mail-box/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 16:05:38 UTC 2020
Date: Tuesday, July 7, 2020 @ 16:05:37
Author: felixonmars
Revision: 659108
archrelease: copy trunk to community-staging-any
Added:
perl-mail-box/repos/community-staging-any/
perl-mail-box/repos/community-staging-any/PKGBUILD
(from rev 659106, perl-mail-box/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: perl-mail-box/repos/community-staging-any/PKGBUILD (from rev 659106, perl-mail-box/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 16:05:37 UTC (rev 659108)
@@ -0,0 +1,44 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+# Contributor: Francois Charette <firmicus at gmx.net>
+
+pkgname=perl-mail-box
+pkgver=3.005
+pkgrel=2
+pkgdesc="Mail folder manager and MUA backend"
+arch=(any)
+url="https://search.cpan.org/dist/Mail-Box"
+license=('GPL' 'PerlArtistic')
+depends=('perl-timedate' 'perl-digest-hmac' 'perl-file-remove>=0.20'
+ 'perl-io-stringy' 'perl-mime-types>=1.004' 'perl-mailtools'
+ 'perl-object-realize-later>=0.14' 'perl-uri>=1.23'
+ 'perl-devel-globaldestruction' 'perl-user-identity>=0.90'
+ 'perl-mail-message')
+options=('!emptydirs')
+source=(https://cpan.metacpan.org/authors/id/M/MA/MARKOV/Mail-Box-$pkgver.tar.gz)
+sha256sums=('75a4a683d7a6a7fea68057bce180e9da8042e3962d2b1fb49e8cd6b2a32c7b80')
+
+prepare() {
+ cd "$srcdir"/Mail-Box-$pkgver
+ find . -name '*.pod' -empty -exec rm -f {} \;
+}
+
+build() {
+ cd "$srcdir"/Mail-Box-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$srcdir"/Mail-Box-$pkgver
+# ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+# make test
+# )
+}
+
+package() {
+ cd "$srcdir"/Mail-Box-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list