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

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 10:30:58 UTC 2022


    Date: Sunday, May 29, 2022 @ 10:30:58
  Author: felixonmars
Revision: 446791

archrelease: copy trunk to staging-any

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

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

Copied: perl-mailtools/repos/staging-any/PKGBUILD (from rev 446787, perl-mailtools/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2022-05-29 10:30:58 UTC (rev 446791)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-mailtools
+pkgver=2.21
+pkgrel=6
+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