diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-26 17:15:14 -0300 |
---|---|---|
committer | TBK <tbk@jjtc.eu> | 2019-05-27 02:17:58 +0200 |
commit | 26162168d80ba2ab010348f00286736332515282 (patch) | |
tree | 7488913ec33ae64a329222370b582ac009ef2bde | |
parent | 8a5b007cdee3e6499cc23dbb578d9c65e3085e01 (diff) | |
download | aports-26162168d80ba2ab010348f00286736332515282.tar.bz2 aports-26162168d80ba2ab010348f00286736332515282.tar.xz |
testing/perl-spreadsheet-xlsx: modernize, fix license
Closes: GH-8158
-rw-r--r-- | testing/perl-spreadsheet-xlsx/APKBUILD | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/testing/perl-spreadsheet-xlsx/APKBUILD b/testing/perl-spreadsheet-xlsx/APKBUILD index c3aaba82a6..5bd78c45ee 100644 --- a/testing/perl-spreadsheet-xlsx/APKBUILD +++ b/testing/perl-spreadsheet-xlsx/APKBUILD @@ -4,33 +4,30 @@ pkgname=perl-spreadsheet-xlsx _pkgreal=Spreadsheet-XLSX pkgver=0.15 -pkgrel=0 +pkgrel=1 pkgdesc="Perl extension for reading MS Excel 2007 files;" url="https://metacpan.org/release/Spreadsheet-XLSX/" arch="noarch" -license="GPL PerlArtistic" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-spreadsheet-parseexcel perl-archive-zip perl-test-nowarnings" depends="$cpandepends" -makedepends="perl-dev perl-spreadsheet-parseexcel" +makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/M/MI/MIKEB/Spreadsheet-XLSX-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" 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 } |