aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-01-14 17:28:23 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-01-14 18:08:01 +0100
commit2404317ded2b6b78e9987e725758c26a0cf9cfd2 (patch)
tree0b14c6c8932c782a527015716a445c04935c67c3
parent716e0490a3f6fba2690ed2b646e831a7e4309454 (diff)
downloadaports-2404317ded2b6b78e9987e725758c26a0cf9cfd2.tar.bz2
aports-2404317ded2b6b78e9987e725758c26a0cf9cfd2.tar.xz
community/perl-template-toolkit: upgrade to 3.004
-rw-r--r--community/perl-template-toolkit/APKBUILD25
1 files changed, 10 insertions, 15 deletions
diff --git a/community/perl-template-toolkit/APKBUILD b/community/perl-template-toolkit/APKBUILD
index 5c8087e499..a84c33f391 100644
--- a/community/perl-template-toolkit/APKBUILD
+++ b/community/perl-template-toolkit/APKBUILD
@@ -3,43 +3,38 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-template-toolkit
_pkgreal=Template-Toolkit
-pkgver=3.003
+pkgver=3.004
pkgrel=0
pkgdesc="comprehensive template processing system"
-url="http://search.cpan.org/dist/Template-Toolkit/"
+url="https://metacpan.org/release/Template-Toolkit"
arch="all"
-license="GPL PerlArtistic"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-appconfig"
-cpanmakedepends=" "
depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/Template-Toolkit-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
check() {
- cd "$builddir"
- make test
+ make test
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="a8b7b2baf203d44165c305cabcc2452d95a85f0eec45c0948a0b83a8f671c805a276237bb74d5d8f47b2b59b1490d7ae389734404e7b7f6827f9f34a37d17d78 Template-Toolkit-3.003.tar.gz"
+sha512sums="3513203f4f291d120671f39630c6274e9dc8bdc94cec92347691fb4a973d937002716c6d7c6265f93577ea9d80bc97f7bab5d4c43d28705f4ab411ac0e942411 Template-Toolkit-3.004.tar.gz"