Date: Tuesday, July 7, 2020 @ 16:51:57 Author: felixonmars Revision: 659449
archrelease: copy trunk to community-staging-any Added: perl-return-value/repos/community-staging-any/ perl-return-value/repos/community-staging-any/PKGBUILD (from rev 659448, perl-return-value/trunk/PKGBUILD) ----------+ PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Copied: perl-return-value/repos/community-staging-any/PKGBUILD (from rev 659448, perl-return-value/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2020-07-07 16:51:57 UTC (rev 659449) @@ -0,0 +1,28 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: Sergej Pupykin <pupykin.s+...@gmail.com> + +pkgname=perl-return-value +pkgver=1.666005 +pkgrel=4 +pkgdesc="Polymorphic Return Values " +arch=('any') +url="https://search.cpan.org/dist/Return-Value" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=(https://www.cpan.org/authors/id/R/RJ/RJBS/Return-Value-$pkgver.tar.gz) +sha256sums=('8e2260a96531e93686200b9c8850ebe005d88ce369ff6bc70ff1a7405b7550ac') + +build() { + cd "$srcdir"/Return-Value-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/Return-Value-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +}