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

                                                      

                        
           
        

                                                    
          











                                                                                   



                                       

                                                   
                                                  

 


                                                                                                                                                                      
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:  Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-html-parser
_realname=HTML-Parser
pkgver=3.71
pkgrel=0
pkgdesc="Parse section of HTML documents"
url="http://search.cpan.org/~gaas/HTML-Parser-3.60/"
arch="all"
license="GPL PerlArtistic"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$_realname-$pkgver.tar.gz"

build() {
	cd "$srcdir/$_realname-$pkgver"

	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
}

package() {
	cd "$srcdir/$_realname-$pkgver"
	make DESTDIR="$pkgdir" install
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

md5sums="9128a45893097dfa3bf03301b19c5efe  HTML-Parser-3.71.tar.gz"
sha256sums="be918b3749d3ff93627f72ee4b825683332ecb4c81c67a3a8d72b0435ffbd802  HTML-Parser-3.71.tar.gz"
sha512sums="98165e22534477a4e06e6c61c10a16ad04f0e4ec79a52e458a322751d66fc3fe0182391ff60dce76076449f29dcfcb613a6e43a839d4fc15c4af5b4e8751036e  HTML-Parser-3.71.tar.gz"