[arch-commits] Commit in perl-mailtools/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue May 19 08:25:57 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:25:57
  Author: felixonmars
Revision: 386298

archrelease: copy trunk to staging-any

Added:
  perl-mailtools/repos/staging-any/
  perl-mailtools/repos/staging-any/PKGBUILD
    (from rev 386296, perl-mailtools/trunk/PKGBUILD)

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

Copied: perl-mailtools/repos/staging-any/PKGBUILD (from rev 386296, perl-mailtools/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-19 08:25:57 UTC (rev 386298)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-mailtools
+pkgver=2.21
+pkgrel=3
+pkgdesc="Various e-mail related modules"
+arch=('any')
+url="https://metacpan.org/release/MailTools"
+license=('PerlArtistic' 'GPL')
+depends=('perl-timedate')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-$pkgver.tar.gz")
+sha512sums=('70c7e5760691a1fc0a2812c48a632896db9bf719d3cb07a63c3a4456c5a365855c7f71c7436c84e5085374628f26ad31fcf13e74b3b7242911da59b7916065a0')
+
+build() {
+  cd MailTools-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd MailTools-$pkgver
+  make test
+}
+
+package() {
+  cd MailTools-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list