summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-31 15:46:05 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-31 15:46:05 (GMT)
commit446c2d35732b5d9cfc7f809c69c078e9016ee5e1 (patch)
tree66029ebeba1bc1e2af886743121ce119002533b7 /abs/core
parent500b08f156a5ea329cb8667d3f8f7e0944ca307c (diff)
downloadlinhes_pkgbuild-446c2d35732b5d9cfc7f809c69c078e9016ee5e1.zip
linhes_pkgbuild-446c2d35732b5d9cfc7f809c69c078e9016ee5e1.tar.gz
linhes_pkgbuild-446c2d35732b5d9cfc7f809c69c078e9016ee5e1.tar.bz2
perl-mailtools: update to 2.20
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/perl_modules/perl-mailtools/PKGBUILD32
1 files changed, 17 insertions, 15 deletions
diff --git a/abs/core/perl_modules/perl-mailtools/PKGBUILD b/abs/core/perl_modules/perl-mailtools/PKGBUILD
index 117352a..cb7d453 100644
--- a/abs/core/perl_modules/perl-mailtools/PKGBUILD
+++ b/abs/core/perl_modules/perl-mailtools/PKGBUILD
@@ -1,28 +1,30 @@
-# $Id: PKGBUILD 140680 2011-10-18 03:11:21Z eric $
-# Maintainer: Kevin Piche <kevin@archlinux.org>
-# Contributor: Eric Johnson <eric@coding-zone.com>
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=perl-mailtools
-_realname=MailTools
-pkgver=2.08
+pkgver=2.20
pkgrel=1
-pkgdesc="Perl module that provides email tools"
+pkgdesc="Various e-mail related modules"
arch=('any')
-url="http://search.cpan.org/dist/${_realname}/"
-license=('PerlArtistic')
-depends=('perl>=5.10.0')
+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/${_realname}-${pkgver}.tar.gz)
-md5sums=('0245bf7985c6661e0cf31a59657a18f0')
+source=("http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-$pkgver.tar.gz")
+sha512sums=('fb9a330c5b5795d68fc0e5bb6c5f1d7d525e8e1e87996f6fac7120e46bc22897c9f0c23f121866cb10d7ce4ffd9ac979b31602dbec379a8d15e8257a2c725a5e')
build() {
- cd "${srcdir}/${_realname}-${pkgver}"
- # install module in vendor directories.
+ cd MailTools-$pkgver
perl Makefile.PL INSTALLDIRS=vendor
make
}
+check() {
+ cd MailTools-$pkgver
+ make test
+}
+
package() {
- cd "${srcdir}/${_realname}-${pkgver}"
- make install DESTDIR="${pkgdir}"
+ cd MailTools-$pkgver
+ make DESTDIR="$pkgdir" install
}