[arch-commits] Commit in perl-par/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sun May 29 11:29:58 UTC 2022
Date: Sunday, May 29, 2022 @ 11:29:57
Author: foutrelis
Revision: 1214352
archrelease: copy trunk to community-staging-any
Added:
perl-par/repos/community-staging-any/
perl-par/repos/community-staging-any/PKGBUILD
(from rev 1214351, perl-par/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: perl-par/repos/community-staging-any/PKGBUILD (from rev 1214351, perl-par/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2022-05-29 11:29:57 UTC (rev 1214352)
@@ -0,0 +1,35 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: dracorp aka Piotr Rogoza <piotr.r.public at gmail.com>
+# Contributor: TDY <tdy at gmx.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-par
+pkgver=1.017
+pkgrel=3
+pkgdesc='Perl Archive Toolkit'
+arch=('any')
+url='https://metacpan.org/release/PAR'
+license=('GPL')
+depends=('perl-archive-zip' 'perl-par-dist')
+options=('!emptydirs' purge)
+source=("https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-${pkgver}.tar.gz")
+b2sums=('99acabab41bff84b9445c38dbceffe5731a20afb16cecef20a6d6fa48babfebdba42d675fd813c91cde59b4b932fff00571957bcebb1001c194e90dbc59648ea')
+
+build() {
+ cd PAR-${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-${pkgver}
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1
+ make test
+}
+package() {
+ cd PAR-${pkgver}
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+}
More information about the arch-commits
mailing list