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

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 12:28:26 UTC 2018


    Date: Wednesday, August 1, 2018 @ 12:28:25
  Author: foutrelis
Revision: 366813

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

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

Copied: perl-html-form/repos/community-staging-any/PKGBUILD (from rev 366812, perl-html-form/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 12:28:25 UTC (rev 366813)
@@ -0,0 +1,37 @@
+# $Id$
+# 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=5
+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=http://search.cpan.org/dist/HTML-Form
+source=("http://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