summaryrefslogblamecommitdiff
path: root/user/perl-template-toolkit/APKBUILD
blob: bcc8d0c5e2267d90c90980db68d8b51ba678ca9d (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=2.29
pkgrel=0
pkgdesc="Comprehensive template processing system"
url="https://metacpan.org/release/Template-Toolkit"
arch="all"
license="Artistic-1.0-Perl"
depends="perl-appconfig"
makedepends="perl-dev"
checkdepends="perl-cgi perl-test-leaktrace"
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="5b1bfeaf600a5628b6441e54de5c4af1cf4e01296792a79290d4bf2a698be47112e94a05fe3f47bf9ac64c4d8b9340aa6ef8738560fb1f96510d7d1c9f647a65  Template-Toolkit-2.29.tar.gz"