summaryrefslogblamecommitdiff
path: root/user/perl-template-toolkit/APKBUILD
blob: 8d055549d67b91d40ebc622a57e2d72b2616e178 (plain) (tree)
1
2
3
4
5
6
7
8


                                                                   



                               
            





                                                   
                                           
                      
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                            
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-template-toolkit
_pkgreal=Template-Toolkit
_author=ATOOMIC
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=3.008
pkgrel=0
pkgdesc="Comprehensive template processing system"
url="https://metacpan.org/release/Template-Toolkit"
arch="all"
license="Artistic-1.0-Perl"
depends="perl-appconfig"
checkdepends="perl-cgi perl-test-leaktrace"
makedepends="perl-dev"
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="851becacca1b62fca4ee17912480f87d7059bd3c851e443128d3269331b0c876d6f888f33b99008f8c03e6b1edf9dad1318b736d567245d66fceacbf88c78023  Template-Toolkit-3.008.tar.gz"