summaryrefslogtreecommitdiff
path: root/perl-perinci-examples/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-perinci-examples/PKGBUILD
parent35ca51435fc672621286a73c594e597d6eaccd5c (diff)
downloadarchlinuxewe-5ac84cfd7a6ea6a55fff5c87d66555b18c2e2400.tar.xz
remove all unneeded perl-* packages
Diffstat (limited to 'perl-perinci-examples/PKGBUILD')
-rw-r--r--perl-perinci-examples/PKGBUILD104
1 files changed, 0 insertions, 104 deletions
diff --git a/perl-perinci-examples/PKGBUILD b/perl-perinci-examples/PKGBUILD
deleted file mode 100644
index e5a7c5e25..000000000
--- a/perl-perinci-examples/PKGBUILD
+++ /dev/null
@@ -1,104 +0,0 @@
-# Maintainer: Erich Eckner <arch at eckner dot net>
-# Generator : neuesPerlPaket (97841193a0046800a1ed3cebc0718afe92066b6f1190519a623e66830c355902620a8d956439b9825c773ea4af1a5a3ff917dc0d9a50bafb588ca09da5980c74)
-
-pkgname='perl-perinci-examples'
-pkgver=0.823
-pkgrel=5
-pkgdesc='Various examples of Rinci metadata'
-arch=('any')
-license=('PerlArtistic' 'GPL')
-options=('!emptydirs')
-provides=(
- 'perl-perinci-examples-argsas=0.823'
- 'perl-perinci-examples-cli=0.823'
- 'perl-perinci-examples-cmdlineresmeta=0.823'
- 'perl-perinci-examples-cmdlinesrc=0.823'
- 'perl-perinci-examples-coercion=0.823'
- 'perl-perinci-examples-completion=0.823'
- 'perl-perinci-examples-csv=0.823'
- 'perl-perinci-examples-filepartial=0.823'
- 'perl-perinci-examples-filestream=0.823'
- 'perl-perinci-examples-nometa=0.823'
- 'perl-perinci-examples-resultnaked=0.823'
- 'perl-perinci-examples-rimetadb-excludedpackage=0.823'
- 'perl-perinci-examples-rimetadb-includedpackage=0.823'
- 'perl-perinci-examples-stream=0.823'
- 'perl-perinci-examples-submeta=0.823'
- 'perl-perinci-examples-table=0.823'
- 'perl-perinci-examples-tiny=0.823'
- 'perl-perinci-examples-tiny-args=0.823'
- 'perl-perinci-examples-tiny-result=0.823'
- 'perl-perinci-examples-tx=0.823'
- 'perl-perinci-examples-version=0.823')
-depends=(
- 'perl>=5.38'
- 'perl<5.39'
- 'perl-experimental'
- 'perl-log-ger>=0.038'
- 'perl-perinci-object>=0.311'
- 'perl-perinci-sub-property-arg-cmdline'
- 'perl-perinci-sub-util>=0.470'
- 'perl-scalar-list-utils>=1.54'
- 'perl-scalar-util-numeric')
-makedepends=(
- 'perl-extutils-makemaker'
- 'perl-io'
- 'perl-pathtools'
- 'perl-test-simple')
-url='https://metacpan.org/release/Perinci-Examples'
-_distdir="Perinci-Examples-${pkgver}"
-source=("https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/${_distdir}.tar.gz")
-sha512sums=('9155380defdae7facf81d41df646c02cb208393c156dc49b1b9c5ba268f0f5fdfb618570f766864d08f8e962e941672f53b79d5fea775bc93891a88533e108a2')
-
-prepare() {
- cd "${srcdir}/${_distdir}"
- rm "t/author-critic.t"
- rm "t/release-rinci.t"
-}
-
-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
-}