[arch-commits] Commit in perl-mail-imapclient/repos/community-any (PKGBUILD PKGBUILD)
Frederik Schwan
freswa at archlinux.org
Fri Oct 30 16:38:32 UTC 2020
Date: Friday, October 30, 2020 @ 16:38:31
Author: freswa
Revision: 736770
archrelease: copy trunk to community-any
Added:
perl-mail-imapclient/repos/community-any/PKGBUILD
(from rev 736769, perl-mail-imapclient/trunk/PKGBUILD)
Deleted:
perl-mail-imapclient/repos/community-any/PKGBUILD
----------+
PKGBUILD | 65 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 37 insertions(+), 28 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-30 16:38:27 UTC (rev 736769)
+++ PKGBUILD 2020-10-30 16:38:31 UTC (rev 736770)
@@ -1,28 +0,0 @@
-# Maintainer: Frederik Schwan <freswa at archlinux dot org>
-# Contributor: DonVla <donvla at users.sourceforge.net>
-# Contributor: achterin <headlock at its-crap.de>
-
-pkgname=perl-mail-imapclient
-pkgver=3.42
-pkgrel=2
-pkgdesc='Perl/CPAN Module Mail::IMAPClient : An IMAP Client API'
-arch=('any')
-url='https://search.cpan.org/dist/Mail-IMAPClient'
-license=('GPL')
-depends=('perl-parse-recdescent' 'perl-digest-hmac')
-optdepends=("perl-authen-sasl: for Authmechanism 'DIGEST-MD5'")
-source=("https://cpan.metacpan.org/authors/id/P/PL/PLOBBES/Mail-IMAPClient-${pkgver}.tar.gz")
-b2sums=('360006381e318dfc46835cabb1a1c72f4039813563a58d585bf9b042b880ece3e5b00a29283bf4de5c382a02628df2094e1772762251c167498c9fcd70ed85a2')
-
-build() {
- cd Mail-IMAPClient-${pkgver}
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
- make
-}
-
-package() {
- cd Mail-IMAPClient-${pkgver}
- make DESTDIR="${pkgdir}" install
- # cleanup empty dir
- rm -rf ${pkgdir}/usr/lib/
-}
Copied: perl-mail-imapclient/repos/community-any/PKGBUILD (from rev 736769, perl-mail-imapclient/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-30 16:38:31 UTC (rev 736770)
@@ -0,0 +1,37 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: DonVla <donvla at users.sourceforge.net>
+# Contributor: achterin <headlock at its-crap.de>
+
+pkgname=perl-mail-imapclient
+pkgver=3.42
+pkgrel=3
+pkgdesc='Perl/CPAN Module Mail::IMAPClient : An IMAP Client API'
+arch=('any')
+url='https://search.cpan.org/dist/Mail-IMAPClient'
+license=('GPL')
+depends=('perl-parse-recdescent' 'perl-digest-hmac')
+optdepends=("perl-authen-sasl: for Authmechanism 'DIGEST-MD5'")
+options=('!emptydirs' purge)
+source=("https://cpan.metacpan.org/authors/id/P/PL/PLOBBES/Mail-IMAPClient-${pkgver}.tar.gz")
+b2sums=('360006381e318dfc46835cabb1a1c72f4039813563a58d585bf9b042b880ece3e5b00a29283bf4de5c382a02628df2094e1772762251c167498c9fcd70ed85a2')
+
+build() {
+ cd Mail-IMAPClient-${pkgver}
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ /usr/bin/perl Makefile.PL
+ make
+}
+
+check() {
+ cd Mail-IMAPClient-${pkgver}
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1
+ make test
+}
+
+package() {
+ cd Mail-IMAPClient-${pkgver}
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+}
More information about the arch-commits
mailing list