summaryrefslogtreecommitdiff
path: root/perl-test-mockrandom
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-mockrandom
parent35ca51435fc672621286a73c594e597d6eaccd5c (diff)
downloadarchlinuxewe-5ac84cfd7a6ea6a55fff5c87d66555b18c2e2400.tar.xz
remove all unneeded perl-* packages
Diffstat (limited to 'perl-test-mockrandom')
-rw-r--r--perl-test-mockrandom/PKGBUILD72
1 files changed, 0 insertions, 72 deletions
diff --git a/perl-test-mockrandom/PKGBUILD b/perl-test-mockrandom/PKGBUILD
deleted file mode 100644
index d8e97be82..000000000
--- a/perl-test-mockrandom/PKGBUILD
+++ /dev/null
@@ -1,72 +0,0 @@
-# Maintainer: Erich Eckner <arch at eckner dot net>
-# Generator : neuesPerlPaket (5872fdbe767f20dd006eece094815303adfcd3b336cb5ad02d10742b82e6f11e31530fef3b41a2af59678d729daebff83cde847dab68d62647f62cf8dc586685)
-
-pkgname='perl-test-mockrandom'
-pkgver='1.01'
-pkgrel=13
-pkgdesc='Replaces random number generation with non-random number generation'
-arch=('any')
-license=('PerlArtistic' 'GPL')
-options=('!emptydirs')
-depends=(
- 'perl>=5.38'
- 'perl<5.39'
- 'perl-carp')
-makedepends=(
- 'perl-extutils-makemaker>=6.17'
- 'perl-lib'
- 'perl-pathtools'
- 'perl-scalar-list-utils'
- 'perl-test-simple'
- 'perl-version')
-url='https://metacpan.org/release/Test-MockRandom'
-_distdir="Test-MockRandom-${pkgver}"
-source=("https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/${_distdir}.tar.gz")
-sha512sums=('e222bd0d3d7673b403e80d1633ddaca0ee35f96f2245e8df859d661edc7efc09b9a96d3718f25b6614395d1f24d66c9498e842cec476cf8c5b12464d585f85e7')
-
-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
-}