blob: b064844312aeaa40917c876c838d327ba2a9c5a8 (
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
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-text-template
_pkgreal=Text-Template
_author=MSCHOUT
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.61
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 OR GPL-1.0+"
depends="perl perl-test-more-utf8 perl-test-warnings"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$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="b527f587fc3fee48fed495b7dcbb1da0db1e423873ab99f9360f4b1a2727d85aa9b06ef8ab59a90d575d9731821e1a0263db8d0d357b01965633c58257c556b4 Text-Template-1.61.tar.gz"
|