[arch-commits] Commit in perl-module-pluggable/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat May 25 09:01:36 UTC 2019
Date: Saturday, May 25, 2019 @ 09:01:36
Author: felixonmars
Revision: 469966
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 469964, perl-module-pluggable/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: perl-module-pluggable/repos/community-staging-any/PKGBUILD (from rev 469964, perl-module-pluggable/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-05-25 09:01:36 UTC (rev 469966)
@@ -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=5
+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=("http://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