diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-11-27 19:00:59 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-11-27 19:00:59 +0100 |
commit | 8e58da6cabc38f8cb95fe4b41f9733a9c036db64 (patch) | |
tree | bd181a747b8cb4444e68bf34e93487957ce86221 /community/perl-app-cpanminus/APKBUILD | |
parent | d5ad99adf2c86cab34fe01a00468367834e579eb (diff) | |
download | aports-8e58da6cabc38f8cb95fe4b41f9733a9c036db64.tar.bz2 aports-8e58da6cabc38f8cb95fe4b41f9733a9c036db64.tar.xz |
community/perl-app-cpanminus: fix url=,source= and license=
Diffstat (limited to 'community/perl-app-cpanminus/APKBUILD')
-rw-r--r-- | community/perl-app-cpanminus/APKBUILD | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/community/perl-app-cpanminus/APKBUILD b/community/perl-app-cpanminus/APKBUILD index 7e375d13f2..a5bb62e6be 100644 --- a/community/perl-app-cpanminus/APKBUILD +++ b/community/perl-app-cpanminus/APKBUILD @@ -3,38 +3,33 @@ pkgname=perl-app-cpanminus _pkgname=App-cpanminus pkgver=1.7044 -pkgrel=0 +pkgrel=1 pkgdesc="Get, unpack, build and install modules from CPAN" -url="http://search.cpan.org/dist/App-cpanminus/" +url="https://metacpan.org/release/App-cpanminus" arch="noarch" -license="PerlArtistic" +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/M/MI/MIYAGAWA/$_pkgname-$pkgver.tar.gz" +source="https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" prepare() { default_prepare - cd "$builddir" CFLAGS=$(_ccflags) PERL_MM_USE_DEFAULT=1 \ perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$builddir" CFLAGS=$(_ccflags) make } check() { - cd "$builddir" CFLAGS=$(_ccflags) make test } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } |