summaryrefslogtreecommitdiff
path: root/perl-test-cpan-meta/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2023-09-15 12:44:45 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-09-15 12:44:45 +0200
commit5ac84cfd7a6ea6a55fff5c87d66555b18c2e2400 (patch)
treee2ea7a6303f7001539e45754b97f7aabcc5c4619 /perl-test-cpan-meta/PKGBUILD
parent35ca51435fc672621286a73c594e597d6eaccd5c (diff)
downloadarchlinuxewe-5ac84cfd7a6ea6a55fff5c87d66555b18c2e2400.tar.xz
remove all unneeded perl-* packages
Diffstat (limited to 'perl-test-cpan-meta/PKGBUILD')
-rw-r--r--perl-test-cpan-meta/PKGBUILD74
1 files changed, 0 insertions, 74 deletions
diff --git a/perl-test-cpan-meta/PKGBUILD b/perl-test-cpan-meta/PKGBUILD
deleted file mode 100644
index da894f46d..000000000
--- a/perl-test-cpan-meta/PKGBUILD
+++ /dev/null
@@ -1,74 +0,0 @@
-# Maintainer: Erich Eckner <arch at eckner dot net>
-# Generator : neuesPerlPaket (a1a5dc345ce385b4ecec6b807bdae9e3db0bf8d9d15d59331768c694d024731261eabbee3bb7e909052aabe8ad80ca6e8b34044981b6a349248d41ca327ecfcb)
-
-pkgname='perl-test-cpan-meta'
-pkgver='0.25'
-pkgrel=13
-pkgdesc='Validate your CPAN META.json files'
-arch=('any')
-license=('PerlArtistic' 'GPL')
-options=('!emptydirs')
-provides=(
- 'perl-test-cpan-meta-version=0.25')
-depends=(
- 'perl>=5.38'
- 'perl<5.39'
- 'perl-cpan-meta>=0.02'
- 'perl-test-simple')
-makedepends=(
- 'perl-io'
- 'perl-test-simple>=0.70')
-optdepends=(
- 'perl-test-pod>=1.00'
- 'perl-test-pod-coverage>=0.08')
-url='https://metacpan.org/release/Test-CPAN-Meta'
-_distdir="Test-CPAN-Meta-${pkgver}"
-source=("https://cpan.metacpan.org/authors/id/B/BA/BARBIE/${_distdir}.tar.gz")
-sha512sums=('60a3414e1e0f9aaa1a9459aedd76a6d937742a4197d0d5ce9330348138997d372ca3f454c262fb6dd757699168aa7d1c2653c4066060c9c5685a6fe407260580')
-
-build(){
- cd "${srcdir}/${_distdir}"
-
- # Setting these env variables overwrites any command-line-options we don't want...
- export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
- PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='${pkgdir}'" \
- PERL_MB_OPT="--installdirs vendor --destdir '${pkgdir}'" \
- MODULEBUILDRC=/dev/null
-
- # If using Makefile.PL
- if [ -r Makefile.PL ]; then
- perl Makefile.PL
- make
- # If using Build.PL
- elif [ -r Build.PL ]; then
- perl Build.PL
- perl Build
- fi
-}
-
-check(){
- cd "${srcdir}/${_distdir}"
-
- # If using Makefile.PL
- if [ -r Makefile.PL ]; then
- make test
- # If using Build.PL
- elif [ -r Build.PL ]; then
- perl Build test
- fi
-}
-
-package(){
- cd "${srcdir}/${_distdir}"
-
- # If using Makefile.PL
- if [ -r Makefile.PL ]; then
- make install
- # If using Build.PL
- elif [ -r Build.PL ]; then
- perl Build install
- fi
-
- # remove perllocal.pod and .packlist
- find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete
-}