PKGBUILDs/community/perl-html-element-extended/PKGBUILD
2009-10-09 21:15:33 -05:00

24 lines
836 B
Bash
Executable file

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>
pkgname=perl-html-element-extended
pkgver=1.17
pkgrel=2
pkgdesc="Perl extension for HTML::Element"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/ElementTable.pm"
license=('GPL')
depends=('perl')
conflicts=(perl-html-elementtable)
source=(http://search.cpan.org/CPAN/authors/id/M/MS/MSISK/HTML-Element-Extended-$pkgver.tar.gz)
md5sums=('3d4db4f619178111770e3046fc88412f')
build() {
cd $startdir/src/HTML-Element-Extended-$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
}