aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-config-autoconf
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-01-03 06:42:06 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-01-03 06:55:35 +0100
commit31a7f8d68e7cfbf6bc8b1a8cecc740cd7f38b5c4 (patch)
treecd2a413b2740e9545ba0cce79da2482f70b19917 /community/perl-config-autoconf
parent646940cff8b6ec6900ecace652c852d12e824143 (diff)
downloadaports-31a7f8d68e7cfbf6bc8b1a8cecc740cd7f38b5c4.tar.bz2
aports-31a7f8d68e7cfbf6bc8b1a8cecc740cd7f38b5c4.tar.xz
community/perl-config-autoconf: upgrade to 0.318
Diffstat (limited to 'community/perl-config-autoconf')
-rw-r--r--community/perl-config-autoconf/APKBUILD20
1 files changed, 7 insertions, 13 deletions
diff --git a/community/perl-config-autoconf/APKBUILD b/community/perl-config-autoconf/APKBUILD
index 17b848696c..b4a02abf0a 100644
--- a/community/perl-config-autoconf/APKBUILD
+++ b/community/perl-config-autoconf/APKBUILD
@@ -3,43 +3,37 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-config-autoconf
_pkgreal=Config-AutoConf
-pkgver=0.317
+pkgver=0.318
pkgrel=0
pkgdesc="A module to implement some of AutoConf macros in pure perl."
-url="http://search.cpan.org/dist/Config-AutoConf/"
+url="https://metacpan.org/release/Config-AutoConf"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends="perl-capture-tiny"
-cpanmakedepends=" "
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl perl-capture-tiny"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/Config-AutoConf-$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="0f2af439a285d474229d07aa2f9226e00c62971675962e41bc771bec9e4b1a01d28b1bedf7401e9fd2d7211b9116c150b9167235b4e252b9dada2a860ccde2b8 Config-AutoConf-0.317.tar.gz"
+sha512sums="b125fb1c708a518a251695450ae4208d84c7b0de7e34081e22659bf2b93699868f14867d824805e1162fa99d8e15ed1072caf503d20b3c2cf0e27642b4213077 Config-AutoConf-0.318.tar.gz"