[arch-commits] Commit in perl-package-constants/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 24 08:32:08 UTC 2021
Date: Monday, May 24, 2021 @ 08:32:08
Author: felixonmars
Revision: 943921
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 943919, perl-package-constants/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: perl-package-constants/repos/community-staging-any/PKGBUILD (from rev 943919, perl-package-constants/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 08:32:08 UTC (rev 943921)
@@ -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=7
+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