diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 19:34:48 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 19:34:48 +0000 |
commit | c0e1d3b842202ce20b28b5304340cd7ad63a76d8 (patch) | |
tree | 7dafea26e9b2be82577dcbbc9afca080084345a4 /user/perl-template-toolkit | |
parent | ecf7509e84ab477eb98eafaefb39a71e885cb376 (diff) | |
download | packages-c0e1d3b842202ce20b28b5304340cd7ad63a76d8.tar.gz packages-c0e1d3b842202ce20b28b5304340cd7ad63a76d8.tar.bz2 packages-c0e1d3b842202ce20b28b5304340cd7ad63a76d8.tar.xz packages-c0e1d3b842202ce20b28b5304340cd7ad63a76d8.zip |
user/perl-template-toolkit: new package
Diffstat (limited to 'user/perl-template-toolkit')
-rw-r--r-- | user/perl-template-toolkit/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-template-toolkit/APKBUILD b/user/perl-template-toolkit/APKBUILD new file mode 100644 index 000000000..e8547949a --- /dev/null +++ b/user/perl-template-toolkit/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-template-toolkit +pkgver=2.27 +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/AB/ABW/Template-Toolkit-$pkgver.tar.gz" +builddir="$srcdir/Template-Toolkit-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="17f03a01a3d6ab0ef2247c77da15c46d9bbce3e0158172162da6abe47f53c5e7ca041a7c31506bb3a37f31c476ba747f5111c5b1b1d69614a4ce3352927fd4e6 Template-Toolkit-2.27.tar.gz" |