mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 20:55:19 +03:00
34 lines
1 KiB
Text
34 lines
1 KiB
Text
# Automatically generated by apkbuild-cpan, template 2
|
|
# Contributor: Timothy Legge <timlegge@gmail.com>
|
|
# Maintainer: Timothy Legge <timlegge@gmail.com>
|
|
pkgname=perl-html-tidy5
|
|
_pkgreal=HTML-Tidy5
|
|
pkgver=1.06
|
|
pkgrel=0
|
|
pkgdesc="HTML validation in a Perl object"
|
|
url="https://metacpan.org/release/HTML-Tidy5/"
|
|
arch="all"
|
|
license="Artistic-2.0"
|
|
makedepends="perl-dev tidyhtml-dev"
|
|
checkdepends="perl-test-exception"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/HTML-Tidy5-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="5ce7da76e9fb0fb8ddbab048d0886bf0bd31d382da8d29b94a06a0871ad14b80db48a49f4c1886beea774e4d0f6529c13b0d3da2c52e29505416393ff0e5ce0a HTML-Tidy5-1.06.tar.gz"
|