summaryrefslogblamecommitdiff
path: root/user/perl-text-template/APKBUILD
blob: 626bce6e5a1e0b371c7403f3efb3ec173e455a18 (plain) (tree)
1
2
3
4


                                                                   
           











                                                                                       




                                                                 



                 



                                                                           
                                                                                                                                                                        
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-text-template
pkgver=1.56
pkgrel=0
pkgdesc="Perl module for expanding embedded Perl in templates"
url="https://metacpan.org/pod/Text::Template"
arch="noarch"
license="Artistic-1.0-Perl"
depends="perl perl-test-more-utf8 perl-test-warnings"
makedepends=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/M/MS/MSCHOUT/Text-Template-$pkgver.tar.gz"
builddir="$srcdir/Text-Template-$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="873a03fc436cc22342310fcc0ab7963d5a69a06bb2fe9f2b7866ccca5c18b2eccef76cdcdf58f2465553a8b6088b28373f19d046157d78a062e056901a411add  Text-Template-1.56.tar.gz"