summaryrefslogblamecommitdiff
path: root/user/perl-html-formatter/APKBUILD
blob: 1d8127cf273d5cca1802a3d999b0ad9056e1f7b1 (plain) (tree)
1
2
3
4
5
6
7


                                                                   



                               





                                                 
                                                             


                                 

                                                                                        

         




                                                                 



                 




                                                                                                                                                                         
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-html-formatter
_pkgreal=HTML-Formatter
_author=NIGELM
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=2.16
pkgrel=0
pkgdesc="HTML formatters for Perl"
url="https://metacpan.org/release/HTML-Formatter"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl perl-file-slurper perl-font-afm perl-html-tree"
checkdepends="perl-test-warnings"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="feb09ed5eefa36f1368f051aa077a8123b5c22a50feea10c09f3b7f826c78ac45868a3fde4f96a340bc922a9512afc9c4b02ca6d97d6e538e517e7f3797bd47c  HTML-Formatter-2.16.tar.gz"