aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-10-05 08:27:09 +0300
committerTimo Teräs <timo.teras@iki.fi>2016-10-05 08:27:48 +0300
commit54c495b12e8f56fbdafaf1021ae5405c3014e655 (patch)
tree25477bf35f7a239ab8ce16efcd46a2450f099f8e
parent3ad81aa8b3d76bc1163c1de3f8865566e88aa844 (diff)
downloadaports-54c495b12e8f56fbdafaf1021ae5405c3014e655.tar.bz2
aports-54c495b12e8f56fbdafaf1021ae5405c3014e655.tar.xz
main/perl-html-mason: upgrade to 1.56
-rw-r--r--main/perl-html-mason/APKBUILD30
1 files changed, 15 insertions, 15 deletions
diff --git a/main/perl-html-mason/APKBUILD b/main/perl-html-mason/APKBUILD
index 56531b70a7..5f616088f9 100644
--- a/main/perl-html-mason/APKBUILD
+++ b/main/perl-html-mason/APKBUILD
@@ -3,40 +3,40 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-html-mason
_pkgreal=HTML-Mason
-pkgver=1.54
+pkgver=1.56
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-log-any perl-html-parser
- perl-params-validate perl-class-container perl-cgi"
+cpandepends="perl-exception-class perl-cache-cache perl-html-parser perl-log-any perl-class-container perl-params-validate"
cpanmakedepends=" perl-test-deep "
-depends="$cpandepends"
+depends="perl-cgi $cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/J/JS/JSWARTZ/$_pkgreal-$pkgver.tar.gz"
-
-_builddir="$srcdir/$_pkgreal-$pkgver"
+source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ default_prepare || return 1
+
+ cd "$builddir"
+ 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}'`
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make && make test
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="6240ce4b472f0c92569f9535fcec410f HTML-Mason-1.54.tar.gz"
-sha256sums="a7657205a16e17049da9c9e0f8fac4a3c5fef23965e635372cbff6f2b8452219 HTML-Mason-1.54.tar.gz"
-sha512sums="341548326391331b22d4adb60363b63149d13406bfe79683f5f69965811e9b6e43e36336b3503eca42792e70db589b264c093074635ea01860598cd90c6e1dc6 HTML-Mason-1.54.tar.gz"
+md5sums="7727187a1ffbab6f83433b67edd98ac6 HTML-Mason-1.56.tar.gz"
+sha256sums="84ac24fb1d551f998145435265e5b6fd4a52ec61e4fadd3d7755eb648be2c4b2 HTML-Mason-1.56.tar.gz"
+sha512sums="3492a37b8289209a2215b42be71db242ca150f4364d8422e46ca4762f2cdbddf96a56f44a3462d1f1eb23ef3bbe1cb36b8322106f4050404b988c6d90a05911c HTML-Mason-1.56.tar.gz"