aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-appconfig/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-27 19:02:02 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-27 19:02:02 +0100
commit746d9b505709c983529e92bbcda5562a9347c37f (patch)
treedcbe7cf4784ba17cc83fa89dfe6051fce760b8bd /community/perl-appconfig/APKBUILD
parent8e58da6cabc38f8cb95fe4b41f9733a9c036db64 (diff)
downloadaports-746d9b505709c983529e92bbcda5562a9347c37f.tar.bz2
aports-746d9b505709c983529e92bbcda5562a9347c37f.tar.xz
community/perl-appconfig: fix url=,source= and license=
Diffstat (limited to 'community/perl-appconfig/APKBUILD')
-rw-r--r--community/perl-appconfig/APKBUILD20
1 files changed, 7 insertions, 13 deletions
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
}