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





                                                      
        










                                                                                      
                                    

           
                      



                                                                 






                      


           

                                      


                                                                           
                                                                                                                                                                      
# 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=1
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
}

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"