[arch-commits] Commit in perl-module-pluggable/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon May 24 08:30:35 UTC 2021


    Date: Monday, May 24, 2021 @ 08:30:35
  Author: felixonmars
Revision: 943885

archrelease: copy trunk to community-staging-any

Added:
  perl-module-pluggable/repos/community-staging-any/
  perl-module-pluggable/repos/community-staging-any/PKGBUILD
    (from rev 943881, perl-module-pluggable/trunk/PKGBUILD)

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

Copied: perl-module-pluggable/repos/community-staging-any/PKGBUILD (from rev 943881, perl-module-pluggable/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 08:30:35 UTC (rev 943885)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-module-pluggable
+pkgver=5.2
+pkgrel=7
+pkgdesc='automatically give your module the ability to have plugins'
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url='https://metacpan.org/release/Module-Pluggable'
+source=("https://search.cpan.org/CPAN/authors/id/S/SI/SIMONW/Module-Pluggable-$pkgver.tar.gz")
+md5sums=('87ce2971662efd0b69a81bb4dc9ea76c')
+sha512sums=('7df8ee6713c8e0d4df756736c43c2033632cb8887c82ed5b9f38476dbf402b5daa3af83d3b2bd1228afb020ce5855831812f86299b63518e04e0929390b0c5f5')
+_ddir="Module-Pluggable-$pkgver"
+
+build() {
+  cd "$srcdir/$_ddir"
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/$_ddir"
+  make test
+}
+
+package() {
+  cd "$srcdir/$_ddir"
+  make install DESTDIR="$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list