From fc5b3cda972651480eb6ff366b322825fcda349c Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 18 Nov 2018 02:44:48 +0000 Subject: user/perl-html-tree: new package --- user/perl-html-tree/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 user/perl-html-tree/APKBUILD (limited to 'user/perl-html-tree') diff --git a/user/perl-html-tree/APKBUILD b/user/perl-html-tree/APKBUILD new file mode 100644 index 000000000..d83f4dcf5 --- /dev/null +++ b/user/perl-html-tree/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: A. Wilcox +# Maintainer: Adélie Perl Team +pkgname=perl-html-tree +_pkgname=HTML-Tree +pkgver=5.07 +pkgrel=0 +pkgdesc="DOM tree structure parser for Perl" +url="https://metacpan.org/release/HTML-Tree" +arch="noarch" +license="Artistic-1.0-Perl OR GPL-2.0-only" +depends="perl-html-parser" +checkdepends="perl-test-fatal" +makedepends="perl-dev perl-module-build" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/K/KE/KENTNL/HTML-Tree-$pkgver.tar.gz" +builddir="$srcdir/HTML-Tree-$pkgver" + +build() { + cd "$builddir" + perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs=vendor + ./Build +} + +check() { + cd "$builddir" + ./Build test +} + +package() { + cd "$builddir" + ./Build install destdir="$pkgdir" + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="a1faaf547d7db323388d5f6b289ab96887de5a80add55aefd380e4b540948514550a86785bdccf0776dfff38085b6bd3e98228f96231264217adcfc2f132c5de HTML-Tree-5.07.tar.gz" -- cgit v1.2.3-70-g09d2