diff options
Diffstat (limited to 'community-testing/perl-html-strip')
-rw-r--r-- | community-testing/perl-html-strip/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community-testing/perl-html-strip/PKGBUILD b/community-testing/perl-html-strip/PKGBUILD new file mode 100644 index 000000000..2f93db01f --- /dev/null +++ b/community-testing/perl-html-strip/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 47534 2011-05-23 18:42:18Z jelle $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Charles Mauch <cmauch@gmail.com> + +pkgname=perl-html-strip +pkgver=1.06 +pkgrel=6 +pkgdesc="Perl/CPAN Module HTML::Strip" +arch=('i686' 'x86_64') +url="http://search.cpan.org/~kilinrax/HTML-Strip/" +license=("GPL" "PerlArtistic") +depends=('perl') +source=("http://www.cpan.org/authors/id/K/KI/KILINRAX/HTML-Strip-$pkgver.tar.gz") +md5sums=('ceeacef0c7c31983e3a991e77bb58b45') +options=('!emptydirs') + +build() { + cd $srcdir/HTML-Strip-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} +package() { + cd $srcdir/HTML-Strip-$pkgver + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} |