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

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 11:33:59 UTC 2021


    Date: Monday, May 24, 2021 @ 11:33:58
  Author: foutrelis
Revision: 944611

archrelease: copy trunk to community-staging-any

Added:
  perl-html-scrubber/repos/community-staging-any/
  perl-html-scrubber/repos/community-staging-any/PKGBUILD
    (from rev 944608, perl-html-scrubber/trunk/PKGBUILD)

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

Copied: perl-html-scrubber/repos/community-staging-any/PKGBUILD (from rev 944608, perl-html-scrubber/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 11:33:58 UTC (rev 944611)
@@ -0,0 +1,30 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-html-scrubber
+pkgver=0.17
+pkgrel=4
+pkgdesc="Perl extension for scrubbing/sanitizing html"
+arch=('any')
+url="https://search.cpan.org/dist/HTML-Scrubber"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0' 'perl-html-parser>=3')
+makedepends=('perl-module-build')
+options=('!emptydirs')
+source=(https://cpan.metacpan.org/authors/id/N/NI/NIGELM/HTML-Scrubber-$pkgver.tar.gz)
+sha256sums=('558a7a1425c355f2e242117b37ecde95534024f69fd6400af46209d23ee1e71a')
+
+build() {
+  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
+  cd  "$srcdir"/HTML-Scrubber-$pkgver
+  perl Makefile.PL
+  make
+}
+
+package() {
+  cd  "$srcdir"/HTML-Scrubber-$pkgver
+  make install
+}



More information about the arch-commits mailing list