mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-07 23:24:05 +00:00
24 lines
829 B
Bash
24 lines
829 B
Bash
|
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
|
||
|
# Contributor: François Charette <firmicus ατ gmx δοτ net>
|
||
|
|
||
|
pkgname=perl-html-scrubber
|
||
|
pkgver=0.08
|
||
|
pkgrel=3
|
||
|
pkgdesc="Perl extension for scrubbing/sanitizing html"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://search.cpan.org/dist/HTML-Scrubber"
|
||
|
license=('GPL' 'PerlArtistic')
|
||
|
depends=('perl>=5.10.0' 'perl-html-parser>=3')
|
||
|
options=('!emptydirs')
|
||
|
source=(http://www.cpan.org/authors/id/P/PO/PODMASTER/HTML-Scrubber-$pkgver.tar.gz)
|
||
|
md5sums=('abadf246e528f3e2d31717ef8a1d90f2')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/HTML-Scrubber-$pkgver
|
||
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
||
|
make || return 1
|
||
|
make install DESTDIR=$startdir/pkg || return 1
|
||
|
find $startdir/pkg -name '.packlist' -delete
|
||
|
find $startdir/pkg -name '*.pod' -delete
|
||
|
}
|