Date: Thursday, January 27, 2022 @ 11:47:31 Author: freswa Revision: 1116997
archrelease: copy trunk to community-x86_64 Added: perl-par-packer/repos/community-x86_64/PKGBUILD (from rev 1116996, perl-par-packer/trunk/PKGBUILD) Deleted: perl-par-packer/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 88 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-01-27 11:47:28 UTC (rev 1116996) +++ PKGBUILD 2022-01-27 11:47:31 UTC (rev 1116997) @@ -1,44 +0,0 @@ -# Maintainer: Frederik Schwan <freswa at archlinux dot org> -# Contributor: Amish <contact at via dot aur> -# Contributor: Justin Davis <jrc...@gmail.com> -# Contributor: Tony Sokhon <tony...@gmail.com> - -pkgname=perl-par-packer -pkgver=1.053 -pkgrel=1 -pkgdesc='PAR Packager' -arch=('x86_64') -url='https://metacpan.org/release/PAR-Packer' -license=('GPL') -depends=('perl-archive-zip' 'perl-getopt-argvfile' 'perl-ipc-run3' - 'perl-module-scandeps' 'perl-par' 'perl-par-dist') -makedepends=('perl' 'perl-extutils-makemaker') -options=('!emptydirs' purge) -source=("https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-Packer-${pkgver}.tar.gz") -b2sums=('b272112d2749e43e40d8ca1bb01088bed1ee1ba09d2b402a2379cc566b53f8a5ef4a15b1cd62d3053486ff6181a22f5c7a8e04a1893270954026bad94a9713da') - -build() { - cd PAR-Packer-${pkgver} - unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT - export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps - perl Makefile.PL - make -} - -check() { - cd PAR-Packer-${pkgver} - unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT - export PERL_MM_USE_DEFAULT=1 - make test -} - -package() { - local _perlver=$(perl -e 'print substr($^V, 1)') - depends+=("perl=${_perlver}") # versioned dependency down to patch version - - cd PAR-Packer-${pkgver} - unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT - make install INSTALLDIRS=vendor DESTDIR="${pkgdir}" - #remove conflicting and empty man page - rm "${pkgdir}"/usr/share/man/man1/pp.1 -} Copied: perl-par-packer/repos/community-x86_64/PKGBUILD (from rev 1116996, perl-par-packer/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-01-27 11:47:31 UTC (rev 1116997) @@ -0,0 +1,44 @@ +# Maintainer: Frederik Schwan <freswa at archlinux dot org> +# Contributor: Amish <contact at via dot aur> +# Contributor: Justin Davis <jrc...@gmail.com> +# Contributor: Tony Sokhon <tony...@gmail.com> + +pkgname=perl-par-packer +pkgver=1.054 +pkgrel=1 +pkgdesc='PAR Packager' +arch=('x86_64') +url='https://metacpan.org/release/PAR-Packer' +license=('GPL') +depends=('perl-archive-zip' 'perl-getopt-argvfile' 'perl-ipc-run3' + 'perl-module-scandeps' 'perl-par' 'perl-par-dist') +makedepends=('perl' 'perl-extutils-makemaker') +options=('!emptydirs' purge) +source=("https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-Packer-${pkgver}.tar.gz") +b2sums=('cfa4a69226977c1cdccdf8ca61154d4809c8f315f7d2de3c30a3b64e000f8b53840bcb9282f8aa11ecd4cc68e7bc6c762341bb6fdb15af8e3713daabe2a63fe4') + +build() { + cd PAR-Packer-${pkgver} + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + perl Makefile.PL + make +} + +check() { + cd PAR-Packer-${pkgver} + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + make test +} + +package() { + local _perlver=$(perl -e 'print substr($^V, 1)') + depends+=("perl=${_perlver}") # versioned dependency down to patch version + + cd PAR-Packer-${pkgver} + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + make install INSTALLDIRS=vendor DESTDIR="${pkgdir}" + #remove conflicting and empty man page + rm "${pkgdir}"/usr/share/man/man1/pp.1 +}