diff options
-rw-r--r-- | community/perl-mojolicious/APKBUILD | 14 |
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" |