[arch-commits] Commit in (4 files)
Frederik Schwan
freswa at archlinux.org
Fri Oct 30 16:57:33 UTC 2020
Date: Friday, October 30, 2020 @ 16:57:32
Author: freswa
Revision: 736775
move perl-par from unsupported to [community]
Added:
perl-par/
perl-par/repos/
perl-par/trunk/
perl-par/trunk/PKGBUILD
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Added: perl-par/trunk/PKGBUILD
===================================================================
--- perl-par/trunk/PKGBUILD (rev 0)
+++ perl-par/trunk/PKGBUILD 2020-10-30 16:57:32 UTC (rev 736775)
@@ -0,0 +1,34 @@
+# Maintainer: 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