aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/perl-html-template/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/perl-html-template/APKBUILD')
-rw-r--r--unmaintained/perl-html-template/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/perl-html-template/APKBUILD b/unmaintained/perl-html-template/APKBUILD
new file mode 100644
index 0000000000..7e8ef4a86d
--- /dev/null
+++ b/unmaintained/perl-html-template/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-html-template
+_pkgreal=HTML-Template
+pkgver=2.95
+pkgrel=0
+pkgdesc="Perl module to use HTML-like templating language"
+url="http://search.cpan.org/dist/HTML-Template/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/W/WO/WONKO/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="6f08e9631af52e6a5f6e4648b89265fe HTML-Template-2.95.tar.gz"
+sha256sums="78100adaea7a56ae65826220fcb0c18a188df25a27227f96175cf7169fbb501d HTML-Template-2.95.tar.gz"
+sha512sums="4b52856c7ac97a6c7985c73492aa5074f90b6b7f89dfb2434487a2cfeb9d521e55afe4e77c33285042e3d391fe6e9fc86a3f58bb6850d94f1331bb7be9809be7 HTML-Template-2.95.tar.gz"