Skip to content
Snippets Groups Projects
Commit 99422444 authored by Timothy Legge's avatar Timothy Legge
Browse files

main/perl-html-scrubber: remove unnecessary perl-dev from makedepends

parent a1482abe
No related branches found
No related tags found
No related merge requests found
...@@ -9,22 +9,19 @@ pkgdesc="Perl extension for scrubbing/sanitizing html" ...@@ -9,22 +9,19 @@ pkgdesc="Perl extension for scrubbing/sanitizing html"
url="https://metacpan.org/release/HTML-Scrubber" url="https://metacpan.org/release/HTML-Scrubber"
arch="noarch" arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl" license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-html-parser" depends="perl perl-html-parser"
depends="$cpandepends" makedepends="perl-module-build"
makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/N/NI/NIGELM/HTML-Scrubber-$pkgver.tar.gz" source="https://cpan.metacpan.org/authors/id/N/NI/NIGELM/HTML-Scrubber-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver" builddir="$srcdir/$_pkgreal-$pkgver"
build() { build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make make
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment