summaryrefslogtreecommitdiff
path: root/perl-data-sah-coerce/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'perl-data-sah-coerce/PKGBUILD')
-rw-r--r--perl-data-sah-coerce/PKGBUILD137
1 files changed, 0 insertions, 137 deletions
diff --git a/perl-data-sah-coerce/PKGBUILD b/perl-data-sah-coerce/PKGBUILD
deleted file mode 100644
index 7e47acb93..000000000
--- a/perl-data-sah-coerce/PKGBUILD
+++ /dev/null
@@ -1,137 +0,0 @@
-# Maintainer: Erich Eckner <arch at eckner dot net>
-# Generator : neuesPerlPaket (97841193a0046800a1ed3cebc0718afe92066b6f1190519a623e66830c355902620a8d956439b9825c773ea4af1a5a3ff917dc0d9a50bafb588ca09da5980c74)
-
-pkgname='perl-data-sah-coerce'
-pkgver=0.053
-pkgrel=2
-pkgdesc='Coercion rules for Data::Sah'
-arch=('any')
-license=('PerlArtistic' 'GPL')
-options=('!emptydirs')
-provides=(
- 'perl-data-sah-coercecommon=0.053'
- 'perl-data-sah-coercejs=0.053'
- 'perl-data-sah-coerce-js-to_bool-from_float-zero_one=0.053'
- 'perl-data-sah-coerce-js-to_bool-from_str-common_words=0.053'
- 'perl-data-sah-coerce-js-to_date-from_float-epoch=0.053'
- 'perl-data-sah-coerce-js-to_date-from_obj-date=0.053'
- 'perl-data-sah-coerce-js-to_date-from_str-date_parse=0.053'
- 'perl-data-sah-coerce-js-to_datenotime-from_float-epoch=0.053'
- 'perl-data-sah-coerce-js-to_datenotime-from_obj-date=0.053'
- 'perl-data-sah-coerce-js-to_datenotime-from_str-date_parse=0.053'
- 'perl-data-sah-coerce-js-to_datetime-from_float-epoch=0.053'
- 'perl-data-sah-coerce-js-to_datetime-from_obj-date=0.053'
- 'perl-data-sah-coerce-js-to_datetime-from_str-date_parse=0.053'
- 'perl-data-sah-coerce-js-to_duration-from_float-seconds=0.053'
- 'perl-data-sah-coerce-js-to_duration-from_str-iso8601=0.053'
- 'perl-data-sah-coerce-js-to_timeofday-from_str-hms=0.053'
- 'perl-data-sah-coerce-perl-to_bool-from_str-common_words=0.053'
- 'perl-data-sah-coerce-perl-to_date-from_float-epoch=0.053'
- 'perl-data-sah-coerce-perl-to_date-from_float-epoch_always=0.053'
- 'perl-data-sah-coerce-perl-to_date-from_float-epoch_always_jakarta=0.053'
- 'perl-data-sah-coerce-perl-to_date-from_float-epoch_always_local=0.053'
- 'perl-data-sah-coerce-perl-to_date-from_float-epoch_jakarta=0.053'
- 'perl-data-sah-coerce-perl-to_date-from_float-epoch_local=0.053'
- 'perl-data-sah-coerce-perl-to_date-from_obj-datetime=0.053'
- 'perl-data-sah-coerce-perl-to_date-from_obj-time_moment=0.053'
- 'perl-data-sah-coerce-perl-to_date-from_str-iso8601=0.053'
- 'perl-data-sah-coerce-perl-to_datenotime-from_float-epoch=0.053'
- 'perl-data-sah-coerce-perl-to_datenotime-from_float-epoch_always=0.053'
- 'perl-data-sah-coerce-perl-to_datenotime-from_obj-datetime=0.053'
- 'perl-data-sah-coerce-perl-to_datenotime-from_obj-time_moment=0.053'
- 'perl-data-sah-coerce-perl-to_datenotime-from_str-iso8601=0.053'
- 'perl-data-sah-coerce-perl-to_datetime-from_float-epoch=0.053'
- 'perl-data-sah-coerce-perl-to_datetime-from_float-epoch_always=0.053'
- 'perl-data-sah-coerce-perl-to_datetime-from_obj-datetime=0.053'
- 'perl-data-sah-coerce-perl-to_datetime-from_obj-time_moment=0.053'
- 'perl-data-sah-coerce-perl-to_datetime-from_str-iso8601=0.053'
- 'perl-data-sah-coerce-perl-to_duration-from_float-seconds=0.053'
- 'perl-data-sah-coerce-perl-to_duration-from_obj-datetime_duration=0.053'
- 'perl-data-sah-coerce-perl-to_duration-from_str-hms=0.053'
- 'perl-data-sah-coerce-perl-to_duration-from_str-human=0.053'
- 'perl-data-sah-coerce-perl-to_duration-from_str-iso8601=0.053'
- 'perl-data-sah-coerce-perl-to_float-from_str-percent=0.053'
- 'perl-data-sah-coerce-perl-to_int-from_str-percent=0.053'
- 'perl-data-sah-coerce-perl-to_num-from_str-percent=0.053'
- 'perl-data-sah-coerce-perl-to_timeofday-from_obj-date_timeofday=0.053'
- 'perl-data-sah-coerce-perl-to_timeofday-from_str-hms=0.053')
-depends=(
- 'perl>=5.38'
- 'perl<5.39'
- 'perl-exporter>=5.57'
- 'perl-file-temp>=0.2307'
- 'perl-ipc-system-options>=0.339'
- 'perl-javascript-quickjs'
- 'perl-json'
- 'perl-log-ger>=0.038'
- 'perl-subroutines'
- 'perl-time-duration-parse-ashash'
- 'perl-time-local>=1.27')
-makedepends=(
- 'perl-extutils-makemaker'
- 'perl-io'
- 'perl-pathtools'
- 'perl-test-exception'
- 'perl-test-needs'
- 'perl-test-simple>=0.98')
-checkdepends=(
- 'nodejs'
- 'perl-nodejs-util'
-)
-optdepends=(
- 'perl-nodejs-util')
-url='https://metacpan.org/release/Data-Sah-Coerce'
-_distdir="Data-Sah-Coerce-${pkgver}"
-source=("https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/${_distdir}.tar.gz")
-sha512sums=('6c890262468df8cb34ce5ceec7b9b1a554cd87f7241f054bc05d03e6f7bc257c075dc4327270596d9510364ede404d265583b72d6cf6fc86a0b76c3859c546a5')
-
-prepare() {
- rm "${srcdir}/${_distdir}/t/author-critic.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
-}