diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-27 22:56:14 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-27 22:56:14 -0300 |
commit | 30a6d07f5da7f2155c17843d97446d852e4d7156 (patch) | |
tree | 87912e3977c40a419334b1f635f5d708fb892853 /testing/perl-algorithm-cron | |
parent | 71cb63745d21ef6484823f9d6f177660a3ed7363 (diff) | |
download | aports-30a6d07f5da7f2155c17843d97446d852e4d7156.tar.bz2 aports-30a6d07f5da7f2155c17843d97446d852e4d7156.tar.xz |
testing/perl-algorithm-cron: fix url fix license
Diffstat (limited to 'testing/perl-algorithm-cron')
-rw-r--r-- | testing/perl-algorithm-cron/APKBUILD | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/testing/perl-algorithm-cron/APKBUILD b/testing/perl-algorithm-cron/APKBUILD index 0d5a033e32..e460f06c21 100644 --- a/testing/perl-algorithm-cron/APKBUILD +++ b/testing/perl-algorithm-cron/APKBUILD @@ -4,43 +4,37 @@ pkgname=perl-algorithm-cron _pkgreal=Algorithm-Cron pkgver=0.10 -pkgrel=0 +pkgrel=1 pkgdesc="abstract implementation of the F<cron(8)> scheduling" -url="http://search.cpan.org/dist/Algorithm-Cron/" +url="https://metacpan.org/release/Algorithm-Cron" arch="noarch" -license="GPL PerlArtistic" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-time-timegm" cpanmakedepends="perl-test-fatal" -cpancheckdepends="" depends="$cpandepends" makedepends="perl-dev perl-module-build $cpanmakedepends" -checkdepends="$cpancheckdepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_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 Build.PL installdirs=vendor || return 1 + perl Build.PL installdirs=vendor } build() { - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') ./Build } package() { - cd "$builddir" - ./Build install destdir="$pkgdir" || return 1 + ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } check() { - cd "$builddir" ./Build test } |