aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorTimothy Legge <timlegge@gmail.com>2020-02-23 15:25:46 +0000
committerLeo <thinkabit.ukim@gmail.com>2020-02-24 00:09:36 -0300
commiteb2bacf5e662227d56e4fb2f884ffbd7b214c86e (patch)
tree99b3a675249c143533d5504bbd69fb4d2b13842c /testing
parentb046e331ba6239d39d5b5a1d463b8889e71249f9 (diff)
downloadaports-eb2bacf5e662227d56e4fb2f884ffbd7b214c86e.tar.bz2
aports-eb2bacf5e662227d56e4fb2f884ffbd7b214c86e.tar.xz
testing/perl-html-tidy5: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-html-tidy5/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/perl-html-tidy5/APKBUILD b/testing/perl-html-tidy5/APKBUILD
new file mode 100644
index 0000000000..ae86d7bc8e
--- /dev/null
+++ b/testing/perl-html-tidy5/APKBUILD
@@ -0,0 +1,34 @@
+# 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"