diff options
author | Timothy Legge <timlegge@gmail.com> | 2019-05-26 23:00:46 +0000 |
---|---|---|
committer | TBK <tbk@jjtc.eu> | 2019-05-27 02:02:41 +0200 |
commit | 5874f69affd4b5e028b58c3175346f3f8c1af304 (patch) | |
tree | 3231a3c95194a14b7f23b95c02f732cfd42c7141 /testing | |
parent | 4185c90be489f36065a6922e2c19f9b04d3c90df (diff) | |
download | aports-5874f69affd4b5e028b58c3175346f3f8c1af304.tar.bz2 aports-5874f69affd4b5e028b58c3175346f3f8c1af304.tar.xz |
testing/perl-time-parsedate: modernize, fix license
Closes: GH-8170
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-time-parsedate/APKBUILD | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/testing/perl-time-parsedate/APKBUILD b/testing/perl-time-parsedate/APKBUILD index 4b7102a899..fceb7162bc 100644 --- a/testing/perl-time-parsedate/APKBUILD +++ b/testing/perl-time-parsedate/APKBUILD @@ -4,11 +4,11 @@ pkgname=perl-time-parsedate _pkgreal=Time-ParseDate pkgver=2015.103 -pkgrel=1 +pkgrel=2 pkgdesc="Parse and format time values" url="https://metacpan.org/release/Time-ParseDate/" arch="noarch" -license="GPL PerlArtistic" +license="GPL-1.0-or-later Artistic-1.0-Perl" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/M/MU/MUIR/modules/Time-ParseDate-$pkgver.tar.gz" @@ -16,20 +16,17 @@ builddir="$srcdir/$_pkgreal-$pkgver" replaces=perl-time-modules build() { - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor make } check() { - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } package() { - cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } |