diff options
Diffstat (limited to 'user')
-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" |