[arch-commits] Commit in perl-par-packer/repos/community-x86_64 (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Fri May 28 15:14:38 UTC 2021


    Date: Friday, May 28, 2021 @ 15:14:38
  Author: foutrelis
Revision: 949869

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-28 15:14:33 UTC (rev 949868)
+++ PKGBUILD	2021-05-28 15:14:38 UTC (rev 949869)
@@ -1,42 +0,0 @@
-# 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.052
-pkgrel=3
-pkgdesc='PAR Packager'
-arch=('x86_64')
-url='https://metacpan.org/release/PAR-Packer'
-license=('GPL')
-# This package links agains libperl.so
-depends=('perl=5.32.1' 'perl-archive-zip' 'perl-getopt-argvfile' 'perl-ipc-run3' 'perl-module-scandeps'
-          'perl-par' 'perl-par-dist')
-makedepends=('perl-extutils-makemaker')
-options=('!emptydirs' purge)
-source=("https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-Packer-${pkgver}.tar.gz")
-b2sums=('cc8b30b3dd2b5c239574750442212b9d2d4a6ef35c8d93aca091e463cf8810feb051417ed4024f5aed011d468d98ee10b511fd70b5a94072995353a72481b923')
-
-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() {
-  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 949868, perl-par-packer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-28 15:14:38 UTC (rev 949869)
@@ -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.052
+pkgrel=4
+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=('cc8b30b3dd2b5c239574750442212b9d2d4a6ef35c8d93aca091e463cf8810feb051417ed4024f5aed011d468d98ee10b511fd70b5a94072995353a72481b923')
+
+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