Date: Friday, October 30, 2020 @ 16:16:11 Author: freswa Revision: 736762
archrelease: copy trunk to community-any Added: perl-mail-imapclient/repos/community-any/ perl-mail-imapclient/repos/community-any/PKGBUILD (from rev 736761, perl-mail-imapclient/trunk/PKGBUILD) ----------+ PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Copied: perl-mail-imapclient/repos/community-any/PKGBUILD (from rev 736761, perl-mail-imapclient/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2020-10-30 16:16:11 UTC (rev 736762) @@ -0,0 +1,28 @@ +# Maintainer: Frederik Schwan <freswa at archlinux dot org> +# Contributor: DonVla <don...@users.sourceforge.net> +# Contributor: achterin <headl...@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/ +}