[arch-commits] Commit in perl-html-form/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat May 25 11:49:01 UTC 2019


    Date: Saturday, May 25, 2019 @ 11:49:01
  Author: felixonmars
Revision: 470504

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 470502, perl-html-form/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: perl-html-form/repos/community-staging-any/PKGBUILD (from rev 470502, perl-html-form/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 11:49:01 UTC (rev 470504)
@@ -0,0 +1,36 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer : Justin "juster" Davis <jrcd83 at gmail.com>
+
+pkgname=perl-html-form
+pkgver=6.03
+pkgrel=6
+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
+}


More information about the arch-commits mailing list