[arch-commits] Commit in perl-class-load/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 13:21:28 UTC 2020
Date: Tuesday, July 7, 2020 @ 13:21:27
Author: felixonmars
Revision: 658430
archrelease: copy trunk to community-staging-any
Added:
perl-class-load/repos/community-staging-any/
perl-class-load/repos/community-staging-any/PKGBUILD
(from rev 658429, perl-class-load/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: perl-class-load/repos/community-staging-any/PKGBUILD (from rev 658429, perl-class-load/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 13:21:27 UTC (rev 658430)
@@ -0,0 +1,29 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-class-load
+pkgver=0.25
+pkgrel=2
+pkgdesc="a working (require 'Class::Name') and more"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+url="https://search.cpan.org/dist/Class-Load"
+options=(!emptydirs)
+depends=('perl' 'perl-module-runtime' 'perl-data-optlist' 'perl-package-stash>=0.32'
+ 'perl-try-tiny' 'perl-test-fatal' 'perl-module-implementation'
+ 'perl-namespace-clean')
+source=(https://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Load-$pkgver.tar.gz)
+sha256sums=('2a48fa779b5297e56156380e8b32637c6c58decb4f4a7f3c7350523e11275f8f')
+
+build() {
+ cd "${srcdir}/Class-Load-${pkgver}"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+# make test
+}
+
+package() {
+ cd "${srcdir}/Class-Load-${pkgver}"
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name perllocal.pod -delete
+ find "$pkgdir" -name .packlist -delete
+}
More information about the arch-commits
mailing list