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


                                                   
                                       
                        
                                           
                      
                          
                                                                                        
         



                                                                 


                 


                                                                           
                                                                                                                                                                            
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-template-toolkit
_pkgreal=Template-Toolkit
_author=ABW
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=3.101
pkgrel=0
pkgdesc="Comprehensive template processing system"
url="https://metacpan.org/release/Template-Toolkit"
arch="all"
license="Artistic-1.0-Perl OR GPL-1.0+"
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="7e74b1317a7fc113161999c9eeb63bdbee9ed8ff843bd4388039a683976eb71cd4ee2af7fecab639f3be7ef17386a45a6065a4eac6b599b5a0cc2f235d34962f  Template-Toolkit-3.101.tar.gz"