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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 11:49:14 UTC 2019


    Date: Saturday, May 25, 2019 @ 11:49:13
  Author: foutrelis
Revision: 470508

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

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

Copied: perl-html-scrubber/repos/community-staging-any/PKGBUILD (from rev 470507, perl-html-scrubber/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 11:49:13 UTC (rev 470508)
@@ -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=2
+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