diff options
Diffstat (limited to 'testing/perl-spreadsheet-xlsx/APKBUILD')
-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 } |