[arch-commits] Commit in perl-class-factory-util/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 12:45:36 UTC 2020
Date: Tuesday, July 7, 2020 @ 12:45:36
Author: felixonmars
Revision: 658223
archrelease: copy trunk to community-staging-any
Added:
perl-class-factory-util/repos/community-staging-any/
perl-class-factory-util/repos/community-staging-any/PKGBUILD
(from rev 658222, perl-class-factory-util/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: perl-class-factory-util/repos/community-staging-any/PKGBUILD (from rev 658222, perl-class-factory-util/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 12:45:36 UTC (rev 658223)
@@ -0,0 +1,30 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-class-factory-util
+pkgver=1.7
+pkgrel=10
+pkgdesc="Provide utility methods for factory classes"
+arch=(any)
+license=('GPL' 'PerlArtistic')
+url="https://search.cpan.org/dist/Class-Factory-Util/"
+options=(!emptydirs)
+depends=('perl')
+makedepends=('perl-module-build')
+source=(https://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Factory-Util-1.7.tar.gz)
+md5sums=('aebd79da361b676a7ecd3245fc3d1b3f')
+
+build() {
+ cd "$srcdir"/Class-Factory-Util-${pkgver}
+ # install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/Class-Factory-Util-${pkgver}
+ make install DESTDIR="$pkgdir"
+
+ # remove perllocal.pod and .packlist
+ find "$pkgdir" -name perllocal.pod -delete
+ find "$pkgdir" -name .packlist -delete
+}
More information about the arch-commits
mailing list