summaryrefslogblamecommitdiff
path: root/system/perl-io-html/APKBUILD
blob: c5cd713698652c3ced4397e44abd98a8ab7e7d74 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                                   


                               

            
                                                            
                                          

                                           

              
                          
                                                                                        

                                    
         
                                                                 



            



                 



                                                                           
                                                                                                                                                                   
# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-io-html
_pkgreal=IO-HTML
_author=CJM
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.004
pkgrel=0
pkgdesc="Open an HTML file with automatic charset detection"
url="https://metacpan.org/release/IO-HTML"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl"
makedepends=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

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

sha512sums="564fba7cfb50ef1cc78fa9e2b2200a20e305d098b8ceeb6f8478f0275cc48e4fb069386f5c318bc9deb43a5d590a78a995c04100bd440340f5c990eadc76a70f  IO-HTML-1.004.tar.gz"