diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-27 23:51:05 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-27 23:51:05 -0300 |
commit | 7650d428a62b69daee9f1b6f54628a11eb3c1183 (patch) | |
tree | 1f7391902fb0c6fda09670acc4313985b969b4ec /testing/perl-clone-choose/APKBUILD | |
parent | 0787b317513a68f77751efea4ec701119202f6d6 (diff) | |
download | aports-7650d428a62b69daee9f1b6f54628a11eb3c1183.tar.bz2 aports-7650d428a62b69daee9f1b6f54628a11eb3c1183.tar.xz |
testing/perl-clone-choose: fix url fix license
Diffstat (limited to 'testing/perl-clone-choose/APKBUILD')
-rw-r--r-- | testing/perl-clone-choose/APKBUILD | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/testing/perl-clone-choose/APKBUILD b/testing/perl-clone-choose/APKBUILD index 5035119619..bc09f3d87e 100644 --- a/testing/perl-clone-choose/APKBUILD +++ b/testing/perl-clone-choose/APKBUILD @@ -3,16 +3,13 @@ pkgname=perl-clone-choose _pkgreal=Clone-Choose pkgver=0.010 -pkgrel=0 +pkgrel=1 pkgdesc="Choose appropriate clone utility" -url="http://search.cpan.org/dist/Clone-Choose/" +url="https://metacpan.org/release/Clone-Choose" arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpancheckdepends="perl-test-without-module" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" +makedepends="perl-dev" checkdepends="$cpancheckdepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/H/HE/HERMES/$_pkgreal-$pkgver.tar.gz" @@ -21,24 +18,20 @@ builddir="$srcdir/$_pkgreal-$pkgver" prepare() { default_prepare - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor } build() { - cd "$builddir" make } package() { - cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } check() { - cd "$builddir" make test } |