Date: Sunday, June 21, 2020 @ 16:06:47 Author: felixonmars Revision: 649608
archrelease: copy trunk to community-staging-any Added: perl-html-form/repos/community-staging-any/ perl-html-form/repos/community-staging-any/PKGBUILD (from rev 649605, perl-html-form/trunk/PKGBUILD) ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Copied: perl-html-form/repos/community-staging-any/PKGBUILD (from rev 649605, perl-html-form/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2020-06-21 16:06:47 UTC (rev 649608) @@ -0,0 +1,36 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer : Justin "juster" Davis <jrc...@gmail.com> + +pkgname=perl-html-form +pkgver=6.03 +pkgrel=7 +pkgdesc="Class that represents an HTML form element" +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=('perl>=5.8.8' 'perl-html-parser' 'perl-http-message' 'perl-uri>=1.10') +conflicts=('perl-libwww<6') +url=https://search.cpan.org/dist/HTML-Form +source=("https://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Form-${pkgver}.tar.gz") +md5sums=('fa6c2680207ed4fef5ea2ef09c210614') + +build() { + cd "${srcdir}/HTML-Form-${pkgver}" + PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \ + PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \ + MODULEBUILDRC=/dev/null perl Makefile.PL + make +} + +check() { + cd "${srcdir}/HTML-Form-${pkgver}" +# PERL_MM_USE_DEFAULT=1 PERL5LIB="" make test +} + +package() { + cd "${srcdir}/HTML-Form-${pkgver}" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +}