archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-html-element-extended / trunk / PKGBUILD
blob682ef8e6e1570ac3daba4cd8fc6ee2fa6f29211f
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: Andrew Simmons <andrew.simmons@gmail.com>
4 pkgname=perl-html-element-extended
5 pkgver=1.18
6 pkgrel=10
7 pkgdesc="Perl extension for HTML::Element"
8 arch=('any')
9 url="https://search.cpan.org/dist/HTML-Element-Extended/"
10 license=('GPL')
11 depends=('perl')
12 conflicts=('perl-html-elementtable')
13 source=("https://search.cpan.org/CPAN/authors/id/M/MS/MSISK/HTML-Element-Extended-$pkgver.tar.gz")
14 sha256sums=('f3ef1af108f27fef15ebec66479f251ce08aa49bd00b0462c9c80c86b4b6b32b')
16 build() {
17   cd "$srcdir"/HTML-Element-Extended-$pkgver
18   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
19   make
22 package() {
23   cd "$srcdir"/HTML-Element-Extended-$pkgver
24   make install DESTDIR="$pkgdir"
25   find "$pkgdir" -name '.packlist' -delete
26   find "$pkgdir" -name '*.pod' -delete