summaryrefslogtreecommitdiff
path: root/community-testing/perl-html-strip/PKGBUILD
blob: 2f93db01fdd8bc195dfef35bb369c48b061d6c38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
}