[arch-commits] Commit in perl-par-packer/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun May 29 11:58:50 UTC 2022


    Date: Sunday, May 29, 2022 @ 11:58:50
  Author: foutrelis
Revision: 1214610

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-par-packer/repos/community-staging-x86_64/
  perl-par-packer/repos/community-staging-x86_64/PKGBUILD
    (from rev 1214609, perl-par-packer/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: perl-par-packer/repos/community-staging-x86_64/PKGBUILD (from rev 1214609, perl-par-packer/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-05-29 11:58:50 UTC (rev 1214610)
@@ -0,0 +1,44 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Amish <contact at via dot aur>
+# Contributor: Justin Davis <jrcd83 at gmail.com>
+# Contributor: Tony Sokhon <tonyskn at gmail.com>
+
+pkgname=perl-par-packer
+pkgver=1.054
+pkgrel=3
+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
+}



More information about the arch-commits mailing list