summaryrefslogtreecommitdiff
path: root/community/perl-html-strip/PKGBUILD
blob: 4cc4e0970433692d449134c16aa1d312a78662da (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 91679 2013-05-26 09:25:24Z bluewind $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-html-strip
pkgver=1.06
pkgrel=9
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
}