[arch-commits] Commit in perl-mail-dkim/trunk (PKGBUILD)
Florian Pritz
bluewind at archlinux.org
Wed May 3 11:16:46 UTC 2017
Date: Wednesday, May 3, 2017 @ 11:16:46
Author: bluewind
Revision: 295205
upgpkg: perl-mail-dkim 0.41-1
upstream update
Modified:
perl-mail-dkim/trunk/PKGBUILD
----------+
PKGBUILD | 58 +++++++++++++++++++++++++++++++++++-----------------------
1 file changed, 35 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-05-03 06:20:53 UTC (rev 295204)
+++ PKGBUILD 2017-05-03 11:16:46 UTC (rev 295205)
@@ -4,33 +4,45 @@
# Contributor: Francois Charette <firmicus at gmx.net>
pkgname=perl-mail-dkim
-pkgver=0.40
+pkgver=0.41
pkgrel=1
-pkgdesc="Implements DomainKeys Identified Mail (DKIM)"
-arch=('any')
-url="http://search.cpan.org/dist/Mail-DKIM"
-license=('GPL' 'PerlArtistic')
-depends=('perl-crypt-openssl-rsa>=0.24' 'perl-digest-sha1' 'perl-mailtools' 'perl-net-dns')
-options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/J/JA/JASLONG/Mail-DKIM-$pkgver.tar.gz)
-md5sums=('9ceb8a0397aff83928e7a9760b1b190f')
+pkgdesc='Signs/verifies Internet mail with DKIM/DomainKey signatures'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=('perl-crypt-openssl-rsa>=0.24' perl-mailtools perl-net-dns)
+url=https://metacpan.org/release/Mail-DKIM
+source=("http://search.cpan.org/CPAN/authors/id/M/MB/MBRADSHAW/Mail-DKIM-$pkgver.tar.gz")
+md5sums=(46ea50a2a1ad92076f6ed13c6a7d98a8)
+sha512sums=(f16a818b058b405ee3ffc0962091e7d47268321b35dcd6ca42e1e37ed1ad5b1b3c1e32655f6f0643e046c53f1247a4b9bb9c0202eca7adce4f14d9b38b414f2e)
+_ddir="Mail-DKIM-$pkgver"
-build() {
- cd "$srcdir/Mail-DKIM-$pkgver"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+build()
+(
+ cd "$srcdir/$_ddir"
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ unset PERL5LIB PERL_MM_OPT
+ /usr/bin/perl Makefile.PL
make
-}
+)
-check() {
- cd "$srcdir/Mail-DKIM-$pkgver"
-
+check()
+(
+ cd "$srcdir/$_ddir"
+ export PERL_MM_USE_DEFAULT=1
+ unset PERL5LIB
make test
-}
+)
-package() {
- cd "$srcdir/Mail-DKIM-$pkgver"
+package()
+(
+ cd "$srcdir/$_ddir"
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+)
- make install DESTDIR="$pkgdir"
- find "$pkgdir" -name '.packlist' -delete
- find "$pkgdir" -name '*.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