aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-01-14 21:33:38 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-01-14 21:36:14 +0100
commit3b37b8a715bf999da6f54f69ea041fcffcdadf5d (patch)
tree021ee504710a7387f3329705e90a765ffe851989
parent7426c70a663258b9e0e875d6cce6ab88269aa4fa (diff)
downloadaports-3b37b8a715bf999da6f54f69ea041fcffcdadf5d.tar.gz
aports-3b37b8a715bf999da6f54f69ea041fcffcdadf5d.tar.bz2
aports-3b37b8a715bf999da6f54f69ea041fcffcdadf5d.tar.xz
main/perl-log-any: upgrade to 1.708
-rw-r--r--main/perl-log-any/APKBUILD22
1 files changed, 7 insertions, 15 deletions
diff --git a/main/perl-log-any/APKBUILD b/main/perl-log-any/APKBUILD
index dac8a15677..77b6e4adad 100644
--- a/main/perl-log-any/APKBUILD
+++ b/main/perl-log-any/APKBUILD
@@ -3,46 +3,38 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-log-any
_pkgreal=Log-Any
-pkgver=1.707
+pkgver=1.708
pkgrel=0
pkgdesc="Bringing loggers and listeners together"
-url="http://search.cpan.org/dist/Log-Any/"
+url="https://metacpan.org/release/Log-Any"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=""
-cpancheckdepends=""
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
-checkdepends="$cpancheckdepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/P/PR/PREACTION/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/P/PR/PREACTION/Log-Any-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. 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
}
check() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
-sha512sums="b5fc37130b3bb07c9fac896c539657fffad2e80c2055a09816e133e48f3f5db9a3b896ea11bf087b5fe6844a72fb6189656a3033c7761c00f471282747e1c290 Log-Any-1.707.tar.gz"
+sha512sums="7cb86cb376140cd99a1f5aca97e5991ae958dbea39c64db3f095663341160cda055572694679f281581e0ba5c2a74d92c27a13aaed6b40f33c6f95d0c3ac7523 Log-Any-1.708.tar.gz"