[arch-commits] Commit in perl-html-scrubber/trunk (PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Mon Oct 29 07:56:47 UTC 2018
Date: Monday, October 29, 2018 @ 07:56:46
Author: spupykin
Revision: 399378
upgpkg: perl-html-scrubber 0.17-1
Modified:
perl-html-scrubber/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-29 07:56:40 UTC (rev 399377)
+++ PKGBUILD 2018-10-29 07:56:46 UTC (rev 399378)
@@ -2,8 +2,8 @@
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-html-scrubber
-pkgver=0.15
-pkgrel=4
+pkgver=0.17
+pkgrel=1
pkgdesc="Perl extension for scrubbing/sanitizing html"
arch=('any')
url="http://search.cpan.org/dist/HTML-Scrubber"
@@ -11,16 +11,20 @@
depends=('perl>=5.10.0' 'perl-html-parser>=3')
makedepends=('perl-module-build')
options=('!emptydirs')
-source=(http://search.cpan.org/CPAN/authors/id/N/NI/NIGELM/HTML-Scrubber-$pkgver.tar.gz)
-md5sums=('4e3de70a8ce2ab0815daf90b73b6db6e')
+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 Build.PL installdirs=vendor destdir="$pkgdir/"
- perl Build
+ perl Makefile.PL
+ make
}
package() {
cd "$srcdir"/HTML-Scrubber-$pkgver
- perl Build install
+ make install
}
More information about the arch-commits
mailing list