Date: Tuesday, July 7, 2020 @ 13:18:52 Author: felixonmars Revision: 658408
archrelease: copy trunk to community-staging-any Added: perl-universal-isa/repos/community-staging-any/ perl-universal-isa/repos/community-staging-any/PKGBUILD (from rev 658407, perl-universal-isa/trunk/PKGBUILD) ----------+ PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Copied: perl-universal-isa/repos/community-staging-any/PKGBUILD (from rev 658407, perl-universal-isa/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2020-07-07 13:18:52 UTC (rev 658408) @@ -0,0 +1,28 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: François Charette <firmicus ατ gmx δοτ net> + +pkgname=perl-universal-isa +pkgver=1.20171012 +pkgrel=2 +pkgdesc="Attempt to recover from people calling UNIVERSAL::isa as a function " +arch=('any') +url="https://search.cpan.org/dist/UNIVERSAL-isa" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=(https://search.cpan.org/CPAN/authors/id/E/ET/ETHER/UNIVERSAL-isa-$pkgver.tar.gz) +sha256sums=('d16956036cb01c819dec7d294f6ef891be0bb64876989601354b293164da7f2b') + +build() { + cd "$srcdir"/UNIVERSAL-isa-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/UNIVERSAL-isa-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +}