summaryrefslogblamecommitdiff
path: root/user/perl-text-template/APKBUILD
blob: aa5f63cf2c6000b377a19a13dc5c6a5e5947ea4d (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.58
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="23bf03529c7607806c16573b5c0d08ba0b87cf7eb859538d1944bc13952741a88c15588e8de173053a51640c5bdad99c5cc246a67cc05be7eff32853887fbb11  Text-Template-1.58.tar.gz"