aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-html-tagset/APKBUILD
blob: 1f1b7ff27c2fa9f2fd36e6d0e8cad540acec31c1 (plain) (tree)
1
2
3
4
5
6
7
8
9





                                                      
        
                                            
                                               






                                       
                                                                                    
 
                                    

           
                      



                                                                 






                      


           

                                      


                                                                           
                                                                                                                                                                      
# 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=3
pkgdesc="data tables useful in parsing HTML"
url="https://metacpan.org/release/HTML-Tagset/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/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
}

check() {
	cd "$builddir"
	make test
}

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

sha512sums="b53c099a96b493c3d03c51fcf3d58dd3b830069583f2d07477175ea234c43e91a0b380c82a71126f971faf2768e832af34967d08d899db7653d65613d6530072  HTML-Tagset-3.20.tar.gz"