archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-html-highlight / trunk / PKGBUILD
blobe3a1f56fdd471939ff3841fa36ad274eaadc4b37
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Charles Mauch <cmauch@gmail.com>
4 pkgname=perl-html-highlight
5 pkgver=0.20
6 pkgrel=13
7 pkgdesc="Perl/CPAN Module HTML::Highlight"
8 arch=("any")
9 url="https://search.cpan.org/dist/HTML-Highlight"
10 license=("GPL" "PerlArtistic")
11 source=("https://www.cpan.org/authors/id/T/TR/TRIPIE/HTML-Highlight-$pkgver.tar.gz")
12 sha256sums=('152550ee028d990f14d04330c59e7f4a43eade1ee1a02ed6314844ea5ae7a6e3')
14 build() {
15   cd "$srcdir"/HTML-Highlight-$pkgver
16   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
17   make
20 package() {
21   cd "$srcdir"/HTML-Highlight-$pkgver
22   make install DESTDIR="$pkgdir"
23   find "$pkgdir" -name '.packlist' -delete
24   find "$pkgdir" -name '*.pod' -delete