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

Felix Yan felixonmars at archlinux.org
Fri Nov 9 21:08:27 UTC 2018


    Date: Friday, November 9, 2018 @ 21:08:26
  Author: felixonmars
Revision: 404532

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 404530, perl-class-autouse/trunk/PKGBUILD)

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

Copied: perl-class-autouse/repos/community-staging-any/PKGBUILD (from rev 404530, perl-class-autouse/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 21:08:26 UTC (rev 404532)
@@ -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=4
+pkgdesc="Run-time load a class the first time you call a method in it. "
+arch=('any')
+url="http://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