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

Frederik Schwan freswa at archlinux.org
Fri Oct 30 16:59:07 UTC 2020


    Date: Friday, October 30, 2020 @ 16:59:07
  Author: freswa
Revision: 736777

archrelease: copy trunk to community-any

Added:
  perl-par/repos/community-any/
  perl-par/repos/community-any/PKGBUILD
    (from rev 736776, perl-par/trunk/PKGBUILD)

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

Copied: perl-par/repos/community-any/PKGBUILD (from rev 736776, perl-par/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-10-30 16:59:07 UTC (rev 736777)
@@ -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.016
+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=('247e48b9de6dffc73cf78f8bc5c9114edde49634ef91412c765202529e0bcfeb5eee180c40cc04ac5bfbe02c2c12f6eaf2926f2b7a4178a102a607e36301c9e3')
+
+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