aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-moo/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-25 15:29:16 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-10-25 15:30:16 -0300
commit274060ec46e6131f65ce0caa364d38503a7baf2e (patch)
treebbe310d7a0a732ce05d50e0d659150593467cab1 /community/perl-moo/APKBUILD
parent3bac07f541dd63c1165274b8c5d3ac6a22904fe7 (diff)
downloadaports-274060ec46e6131f65ce0caa364d38503a7baf2e.tar.bz2
aports-274060ec46e6131f65ce0caa364d38503a7baf2e.tar.xz
community/perl-moo: upgrade to 2.003006
Diffstat (limited to 'community/perl-moo/APKBUILD')
-rw-r--r--community/perl-moo/APKBUILD24
1 files changed, 10 insertions, 14 deletions
diff --git a/community/perl-moo/APKBUILD b/community/perl-moo/APKBUILD
index 660d2baf97..883182ff48 100644
--- a/community/perl-moo/APKBUILD
+++ b/community/perl-moo/APKBUILD
@@ -3,46 +3,42 @@
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-moo
_pkgreal=Moo
-pkgver=2.003004
+pkgver=2.003006
pkgrel=0
pkgdesc="Minimalist Object Orientation (with Moose compatibility)"
-url="http://search.cpan.org/dist/Moo/"
+url="https://metacpan.org/release/Moo"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends="perl-module-runtime perl-sub-quote perl-role-tiny perl-devel-globaldestruction perl-class-method-modifiers"
-cpanmakedepends=""
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+cpandepends="perl-module-runtime perl-sub-quote perl-role-tiny
+ perl-devel-globaldestruction perl-class-method-modifiers"
cpancheckdepends="perl-test-fatal"
depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+makedepends="perl-dev"
checkdepends="perl-strictures $cpancheckdepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Moo-$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
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
-sha512sums="686996e4dd0238cff7483e4e06db5439660e390c67e65ace67c3fd0b05ade379a168d36ae649812c8a5e2b715eefea7cb17e5db323a0cd31b90667d8954eb38a Moo-2.003004.tar.gz"
+sha512sums="151875a67aeaf78afdd678964ca3bae36dfd13d2290b5ffb903f648deeb1157ee3829f7310b7fae3a899404cfeaea211b57cb3f6e6d611bf39e8209a7bef2863 Moo-2.003006.tar.gz"