aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-html-template/APKBUILD
blob: 9152dbfa4bd0dd9d8f4f1d7c6900cece0a41d6ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-html-template
_pkgreal=HTML-Template
pkgver=2.97
pkgrel=2
pkgdesc="Perl module to use HTML-like templating language"
url="https://metacpan.org/release/HTML-Template/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-cgi"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/S/SA/SAMTREGAR/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

check() {
	make test
}

prepare() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="e1cb68db24db1692c0fb3838739798e5716340e3e78260ee95614af5bf29ee100cc86bbd15a2dda3bb98c7f2ecdf0e3ff8ca7775171a44d9ed347d7f9c850783  HTML-Template-2.97.tar.gz"