Date: Tuesday, July 7, 2020 @ 13:23:03 Author: felixonmars Revision: 658438
archrelease: copy trunk to community-staging-any Added: perl-crypt-cbc/repos/community-staging-any/ perl-crypt-cbc/repos/community-staging-any/PKGBUILD (from rev 658437, perl-crypt-cbc/trunk/PKGBUILD) ----------+ PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Copied: perl-crypt-cbc/repos/community-staging-any/PKGBUILD (from rev 658437, perl-crypt-cbc/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2020-07-07 13:23:03 UTC (rev 658438) @@ -0,0 +1,28 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Charles Mauch <cma...@gmail.com> +# Contributor: Francois Charette <firmi...@gmx.net> + +pkgname=perl-crypt-cbc +pkgver=2.33 +pkgrel=4 +pkgdesc="Cipherblock chaining for Crypt::DES/IDEA" +arch=('any') +depends=('perl') +url="https://search.cpan.org/dist/Crypt-CBC" +license=('GPL' 'PerlArtistic') +options=('!emptydirs') +source=(https://www.cpan.org/authors/id/L/LD/LDS/Crypt-CBC-$pkgver.tar.gz) +sha256sums=('6a70de21b6cc7f2b100067e8e188db966e9a8001b5db6fa976e7cb5b294ae645') + +build() { + cd "$srcdir"/Crypt-CBC-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/Crypt-CBC-$pkgver + make pure_install doc_install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +}