diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-27 23:51:41 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-27 23:51:41 -0300 |
commit | d69ae775b846f69f43121409196b43814b990102 (patch) | |
tree | 7ac47d0954f91643f0c3ddb245b8afe84330de5f /testing/perl-clone-pp/APKBUILD | |
parent | 7650d428a62b69daee9f1b6f54628a11eb3c1183 (diff) | |
download | aports-d69ae775b846f69f43121409196b43814b990102.tar.bz2 aports-d69ae775b846f69f43121409196b43814b990102.tar.xz |
testing/perl-clone-pp: fix url fix license
Diffstat (limited to 'testing/perl-clone-pp/APKBUILD')
-rw-r--r-- | testing/perl-clone-pp/APKBUILD | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/testing/perl-clone-pp/APKBUILD b/testing/perl-clone-pp/APKBUILD index 816b59b493..268e49ccc5 100644 --- a/testing/perl-clone-pp/APKBUILD +++ b/testing/perl-clone-pp/APKBUILD @@ -4,43 +4,34 @@ pkgname=perl-clone-pp _pkgreal=Clone-PP pkgver=1.07 -pkgrel=1 +pkgrel=2 pkgdesc="Recursively copy Perl datatypes" -url="http://search.cpan.org/dist/Clone-PP/" +url="https://metacpan.org/release/Clone-PP" 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" +makedepends="perl-dev" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - default_prepare || return 1 + 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 || return 1 + 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 } |