[arch-commits] Commit in perl-par-packer/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon May 24 11:25:51 UTC 2021
Date: Monday, May 24, 2021 @ 11:25:51
Author: foutrelis
Revision: 944436
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 944433, perl-par-packer/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: perl-par-packer/repos/community-staging-x86_64/PKGBUILD (from rev 944433, perl-par-packer/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-05-24 11:25:51 UTC (rev 944436)
@@ -0,0 +1,42 @@
+# 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
+}
More information about the arch-commits
mailing list