aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-mojolicious
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-07-18 00:40:50 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-07-18 06:32:13 +0000
commite6b27e2f8002eb5c9008c376e435468f067b9747 (patch)
treefd084fba311db3b03064f02dd736f0f6ca1b2017 /community/perl-mojolicious
parent505d95fe24674993545cbcc671e45bc864b96826 (diff)
downloadaports-e6b27e2f8002eb5c9008c376e435468f067b9747.tar.bz2
aports-e6b27e2f8002eb5c9008c376e435468f067b9747.tar.xz
community/perl-mojolicious: upgrade to 8.22
Diffstat (limited to 'community/perl-mojolicious')
-rw-r--r--community/perl-mojolicious/APKBUILD14
1 files changed, 3 insertions, 11 deletions
diff --git a/community/perl-mojolicious/APKBUILD b/community/perl-mojolicious/APKBUILD
index 78edef9611..da8e5ef8f2 100644
--- a/community/perl-mojolicious/APKBUILD
+++ b/community/perl-mojolicious/APKBUILD
@@ -3,43 +3,35 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-mojolicious
_pkgreal=Mojolicious
-pkgver=8.21
+pkgver=8.22
pkgrel=0
pkgdesc="Real-time web framework"
url="http://search.cpan.org/dist/Mojolicious/"
arch="noarch"
license="Artistic-2.0"
-cpandepends=""
-cpanmakedepends=" "
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/S/SR/SRI/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
check() {
- cd "$builddir"
make test
}
-
prepare() {
default_prepare
- 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}')
make
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="c5cc56796f541ee4f18788da96a043ba7c5189977bd8f32b53e639d55f9c27145a445cfdca812746f8ee4a429c4099afb9014599a73fe0f0c462f49400789f2b Mojolicious-8.21.tar.gz"
+sha512sums="f947644a4d1d410e97e4767ddd81033c725fd6d3b1e5473d59b255c934b4e4fdf126bc581c703ec8a6307b30740e7412f72d2c719dc21308a1034dd9b754b465 Mojolicious-8.22.tar.gz"