From 746d9b505709c983529e92bbcda5562a9347c37f Mon Sep 17 00:00:00 2001 From: Leo Date: Wed, 27 Nov 2019 19:02:02 +0100 Subject: community/perl-appconfig: fix url=,source= and license= --- community/perl-appconfig/APKBUILD | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'community/perl-appconfig/APKBUILD') diff --git a/community/perl-appconfig/APKBUILD b/community/perl-appconfig/APKBUILD index 961a3ac775..6fd206ebaf 100644 --- a/community/perl-appconfig/APKBUILD +++ b/community/perl-appconfig/APKBUILD @@ -4,38 +4,32 @@ pkgname=perl-appconfig _pkgreal=AppConfig pkgver=1.71 -pkgrel=1 +pkgrel=2 pkgdesc="AppConfig is a bundle of Perl5 modules for reading configuration files and parsing command line arguments." -url="http://search.cpan.org/dist/AppConfig/" +url="https://metacpan.org/release/AppConfig" arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" +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/N/NE/NEILB/$_pkgreal-$pkgver.tar.gz" +source="https://cpan.metacpan.org/authors/id/N/NE/NEILB/AppConfig-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { default_prepare - cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$builddir" make } check() { - cd "$builddir" - make test + make test } package() { - cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -- cgit v1.2.3