aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-html-mason/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-10-31 10:12:44 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-10-31 10:15:03 +0200
commit59f3acd4fdaa30ba42054d01f55f52441c0de081 (patch)
tree0ab649cf70206830ae1f95b74b42d6bef07ab48b /main/perl-html-mason/APKBUILD
parentaf262bba6fbdd4dfc8b1a29ce325834781c9ef74 (diff)
downloadaports-59f3acd4fdaa30ba42054d01f55f52441c0de081.tar.bz2
aports-59f3acd4fdaa30ba42054d01f55f52441c0de081.tar.xz
main/perl-html-mason: upgrade to 1.58
Diffstat (limited to 'main/perl-html-mason/APKBUILD')
-rw-r--r--main/perl-html-mason/APKBUILD30
1 files changed, 18 insertions, 12 deletions
diff --git a/main/perl-html-mason/APKBUILD b/main/perl-html-mason/APKBUILD
index 5f616088f9..0853c35b22 100644
--- a/main/perl-html-mason/APKBUILD
+++ b/main/perl-html-mason/APKBUILD
@@ -1,42 +1,48 @@
-# Automatically generated by apkbuild-cpan, template 1
+# Automatically generated by apkbuild-cpan, template 2
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-html-mason
_pkgreal=HTML-Mason
-pkgver=1.56
+pkgver=1.58
pkgrel=0
pkgdesc="High-performance, dynamic web site authoring system"
url="http://search.cpan.org/dist/HTML-Mason/"
arch="noarch"
license="GPL PerlArtistic"
-cpandepends="perl-exception-class perl-cache-cache perl-html-parser perl-log-any perl-class-container perl-params-validate"
-cpanmakedepends=" perl-test-deep "
-depends="perl-cgi $cpandepends"
+cpandepends="perl-cache-cache perl-log-any perl-html-parser perl-class-container perl-params-validate perl-exception-class"
+cpanmakedepends=""
+cpancheckdepends="perl-test-deep"
+depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
+checkdepends="$cpancheckdepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- default_prepare || return 1
+ default_prepare
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- make && make test
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="7727187a1ffbab6f83433b67edd98ac6 HTML-Mason-1.56.tar.gz"
-sha256sums="84ac24fb1d551f998145435265e5b6fd4a52ec61e4fadd3d7755eb648be2c4b2 HTML-Mason-1.56.tar.gz"
-sha512sums="3492a37b8289209a2215b42be71db242ca150f4364d8422e46ca4762f2cdbddf96a56f44a3462d1f1eb23ef3bbe1cb36b8322106f4050404b988c6d90a05911c HTML-Mason-1.56.tar.gz"
+check() {
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make test
+}
+
+sha512sums="e66a40a1ed7d2f36bd3ab2457d45f60a66181fd568495d5c081d3acdd1fb425c5c0050d7aeabbcaf7192206362356a0b2033cc0f023c869d1be282e36e2d065f HTML-Mason-1.58.tar.gz"