[arch-commits] Commit in perl-package-constants/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 21 10:31:34 UTC 2020
Date: Sunday, June 21, 2020 @ 10:31:33
Author: felixonmars
Revision: 648988
archrelease: copy trunk to community-staging-any
Added:
perl-package-constants/repos/community-staging-any/
perl-package-constants/repos/community-staging-any/PKGBUILD
(from rev 648987, perl-package-constants/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: perl-package-constants/repos/community-staging-any/PKGBUILD (from rev 648987, perl-package-constants/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-06-21 10:31:33 UTC (rev 648988)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Generator : CPANPLUS::Dist::Arch 1.29
+
+pkgname=perl-package-constants
+pkgver=0.06
+pkgrel=6
+pkgdesc="List all constants declared in a package"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url='https://search.mcpan.org/dist/Package-Constants'
+source=("https://search.mcpan.org/CPAN/authors/id/B/BI/BINGOS/Package-Constants-$pkgver.tar.gz")
+sha512sums=('a3f855435a989252551dfbd50492dcae5bdfb01efe14c2ef40679722305bb67097eb4c969023df1da00ee22d92f88e39439ebdeaae0b1f3a3fc6c561f3fa8481')
+_distdir="Package-Constants-$pkgver"
+
+build() {
+ cd "$srcdir/$_distdir"
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$srcdir/$_distdir"
+ make test
+}
+
+package() {
+ cd "$srcdir/$_distdir"
+ make install DESTDIR="$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list