aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-html-tagset/APKBUILD
blob: 891eb35061b49a2338366326ba2e000319ea435f (plain) (tree)


























                                                                                      
                         








                                                                           
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-html-tagset
_pkgreal=HTML-Tagset
pkgver=3.20
pkgrel=0
pkgdesc="data tables useful in parsing HTML"
url="http://search.cpan.org/dist/HTML-Tagset/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/$_pkgreal-$pkgver.tar.gz"

_builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	cd "$_builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	cd "$_builddir"
	make && make test
}

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

md5sums="d2bfa18fe1904df7f683e96611e87437  HTML-Tagset-3.20.tar.gz"