[arch-commits] Commit in perl-mailtools/repos/extra-any (PKGBUILD PKGBUILD)
Justin Davis
juster at archlinux.org
Wed Aug 15 21:22:08 UTC 2012
Date: Wednesday, August 15, 2012 @ 17:22:08
Author: juster
Revision: 165334
archrelease: copy trunk to extra-any
Added:
perl-mailtools/repos/extra-any/PKGBUILD
(from rev 165333, perl-mailtools/trunk/PKGBUILD)
Deleted:
perl-mailtools/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 74 +++++++++++++++++++++++++++++++++++++------------------------
1 file changed, 46 insertions(+), 28 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2012-08-15 21:22:00 UTC (rev 165333)
+++ PKGBUILD 2012-08-15 21:22:08 UTC (rev 165334)
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer: Kevin Piche <kevin at archlinux.org>
-# Contributor: Eric Johnson <eric at coding-zone.com>
-
-pkgname=perl-mailtools
-_realname=MailTools
-pkgver=2.08
-pkgrel=1
-pkgdesc="Perl module that provides email tools"
-arch=('any')
-url="http://search.cpan.org/dist/${_realname}/"
-license=('PerlArtistic')
-depends=('perl>=5.10.0')
-options=('!emptydirs')
-source=(http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/${_realname}-${pkgver}.tar.gz)
-md5sums=('0245bf7985c6661e0cf31a59657a18f0')
-
-build() {
- cd "${srcdir}/${_realname}-${pkgver}"
- # install module in vendor directories.
- perl Makefile.PL INSTALLDIRS=vendor
- make
-}
-
-package() {
- cd "${srcdir}/${_realname}-${pkgver}"
- make install DESTDIR="${pkgdir}"
-}
Copied: perl-mailtools/repos/extra-any/PKGBUILD (from rev 165333, perl-mailtools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2012-08-15 21:22:08 UTC (rev 165334)
@@ -0,0 +1,46 @@
+# Packager: Justin Davis (juster) <jrcd83 at gmail.com>
+# $Id$
+
+pkgname=perl-mailtools
+pkgver=2.09
+pkgrel=1
+pkgdesc='Various e-mail related modules'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=(perl-timedate)
+url=https://metacpan.org/release/MailTools
+source=("http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-$pkgver.tar.gz")
+md5sums=(2ab874c4202d647e0fc58dd7cffb59f6)
+sha512sums=(2309a7b698afe7309d8c1cda99ed937fd2b3f8ac2e955cfb3fb933ba1e874a8aaf3b34d41f7ab4e3781610ea12d72c1eccd9d782fd03023dd25fc80ff7800f0c)
+_dir="$srcdir/MailTools-$pkgver"
+
+build()
+(
+ cd "$_dir"
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ unset PERL5LIB PERL_MM_OPT
+ /usr/bin/perl Makefile.PL
+ make
+)
+
+check()
+(
+ cd "$_dir"
+ export PERL_MM_USE_DEFAULT=1
+ unset PERL5LIB
+ make test
+)
+
+package()
+(
+ cd "$_dir"
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+)
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list