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


                                                    
           
        
                                  
                                               
             
                             
                               
                                          
                          
                                                                                     
 
                                      

         







                                                                 


           

                                      


                                                                           
                                                                                                                                                                      
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-html-quoted
pkgver=0.04
pkgrel=2
pkgdesc="HTML::Quoted perl module"
url="https://metacpan.org/release/HTML-Quoted/"
arch="noarch"
license="GPL-2.0 or Artistic"
depends="perl perl-html-parser"
makedepends="perl-dev perl-module-install"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/T/TS/TSIBLEY/HTML-Quoted-$pkgver.tar.gz"

builddir="$srcdir/HTML-Quoted-$pkgver"

build() {
	cd "$builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

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

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

sha512sums="a13fb07d683741ec32679780d7183c849c534fb79e2b5f5613f9142e2b877938712d8bf20bb1e540ad5f4532cd7f2fcbf42bc3be5e931d7a4a2ae12bd0af0cc0  HTML-Quoted-0.04.tar.gz"