aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-html-formattext-withlinks-andtables/APKBUILD
blob: 03b02f153f1043e0822ac35be0ea3d8cfc64f2d0 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                      
           
        
                                                             
                                                                       

                          
                                            
                  
                      
                                       
                            
                          
                                                                                     
                                    

         
                      
                                
                                                
            
                                                                         


          




                      
           
                      
                                      


                                                                           
                                                                                                                                                                                              
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-html-formattext-withlinks-andtables
_pkgreal=HTML-FormatText-WithLinks-AndTables
pkgver=0.07
pkgrel=1
pkgdesc="Perl module for HTML-FormatText-WithLinks-AndTables"
url="https://metacpan.org/release/HTML-FormatText-WithLinks-AndTables/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-html-formattext-withlinks"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
checkdepends="perl-test-pod"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/D/DA/DALEEVANS/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
        cd "$builddir"
	if [ -e Build.PL ]; then
		perl Build.PL installdirs=vendor
	else
		PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	fi
}

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

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

sha512sums="3deea4406f7f9dd55d22d60c169d3889be7ef802a43507fb8b608c45ecdff52f743c9cb3a4703f1e44cdcf033c4c64b4c993192fe1a39efc9eae78c6fb66ff3e  HTML-FormatText-WithLinks-AndTables-0.07.tar.gz"