[arch-commits] Commit in perl-class-autouse/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:55:59 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:55:59
  Author: felixonmars
Revision: 658287

archrelease: copy trunk to community-staging-any

Added:
  perl-class-autouse/repos/community-staging-any/
  perl-class-autouse/repos/community-staging-any/PKGBUILD
    (from rev 658285, perl-class-autouse/trunk/PKGBUILD)

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

Copied: perl-class-autouse/repos/community-staging-any/PKGBUILD (from rev 658285, perl-class-autouse/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 12:55:59 UTC (rev 658287)
@@ -0,0 +1,29 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+# Contributor: Francois Charette <firmicus at gmx.net>
+
+pkgname=perl-class-autouse
+pkgver=2.01
+pkgrel=5
+pkgdesc="Run-time load a class the first time you call a method in it. "
+arch=('any')
+url="https://search.cpan.org/dist/Class-Autouse"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=(https://www.cpan.org/authors/id/A/AD/ADAMK/Class-Autouse-$pkgver.tar.gz) 
+sha256sums=('c05b3236c05719d819c20db0fdeb6d0954747e43d7a738294eed7fbcf36ecf1b')
+
+build() {
+  cd  "$srcdir"/Class-Autouse-$pkgver
+  PERL_USE_UNSAFE_INC=1 \
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  "$srcdir"/Class-Autouse-$pkgver
+  make pure_install doc_install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}



More information about the arch-commits mailing list