aboutsummaryrefslogblamecommitdiffstats
path: root/community/perl-html-template/APKBUILD
blob: 055ca2672659e0853c23cdbf947f06cd2c88dda3 (plain) (tree)
1
2
3
4
5
6
7
                                                      

                                                           

                          

           




                                                          
                          


                                       

                                                                                       
 



                      

           
                      



                                                                 

                      


           

                                      


                                                                           
                                                                                                                                                                        
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-html-template
_pkgreal=HTML-Template
pkgver=2.97
pkgrel=0
pkgdesc="Perl module to use HTML-like templating language"
url="http://search.cpan.org/dist/HTML-Template/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="perl-cgi"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/S/SA/SAMTREGAR/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

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

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

build() {
	cd "$builddir"
	make
}

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

sha512sums="e1cb68db24db1692c0fb3838739798e5716340e3e78260ee95614af5bf29ee100cc86bbd15a2dda3bb98c7f2ecdf0e3ff8ca7775171a44d9ed347d7f9c850783  HTML-Template-2.97.tar.gz"