[arch-commits] Commit in perl-package-constants/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun May 29 09:36:03 UTC 2022


    Date: Sunday, May 29, 2022 @ 09:36:02
  Author: foutrelis
Revision: 1214092

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 1214090, perl-package-constants/trunk/PKGBUILD)

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

Copied: perl-package-constants/repos/community-staging-any/PKGBUILD (from rev 1214090, perl-package-constants/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-05-29 09:36:02 UTC (rev 1214092)
@@ -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=8
+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