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

Felix Yan felixonmars at archlinux.org
Wed Aug 1 09:27:13 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:27:13
  Author: felixonmars
Revision: 330094

archrelease: copy trunk to staging-any

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

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

Copied: perl-mailtools/repos/staging-any/PKGBUILD (from rev 330091, perl-mailtools/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 09:27:13 UTC (rev 330094)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-mailtools
+pkgver=2.20
+pkgrel=2
+pkgdesc="Various e-mail related modules"
+arch=('any')
+url="https://metacpan.org/release/MailTools"
+license=('PerlArtistic' 'GPL')
+depends=('perl-timedate')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-$pkgver.tar.gz")
+sha512sums=('fb9a330c5b5795d68fc0e5bb6c5f1d7d525e8e1e87996f6fac7120e46bc22897c9f0c23f121866cb10d7ce4ffd9ac979b31602dbec379a8d15e8257a2c725a5e')
+
+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