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

Felix Yan felixonmars at archlinux.org
Sun Jun 21 16:10:38 UTC 2020


    Date: Sunday, June 21, 2020 @ 16:10:37
  Author: felixonmars
Revision: 649657

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 649655, perl-html-scrubber/trunk/PKGBUILD)

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

Copied: perl-html-scrubber/repos/community-staging-any/PKGBUILD (from rev 649655, perl-html-scrubber/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-06-21 16:10:37 UTC (rev 649657)
@@ -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=3
+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