From d9d401a0e50ea9f60facf38aab4e440603173254 Mon Sep 17 00:00:00 2001 From: Leo Date: Sun, 26 May 2019 01:14:46 -0300 Subject: testing/perl-xml-easy: modernize, fix license --- testing/perl-xml-easy/APKBUILD | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'testing/perl-xml-easy') diff --git a/testing/perl-xml-easy/APKBUILD b/testing/perl-xml-easy/APKBUILD index 318e89a1cf..53fc7bb6da 100644 --- a/testing/perl-xml-easy/APKBUILD +++ b/testing/perl-xml-easy/APKBUILD @@ -4,13 +4,13 @@ pkgname=perl-xml-easy _pkgreal=XML-Easy pkgver=0.011 -pkgrel=1 +pkgrel=2 pkgdesc="XML processing with a clean interface" url="https://metacpan.org/release/XML-Easy/" arch="all" -license="GPL PerlArtistic" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-params-classify" -cpanmakedepends="perl-params-classify perl-module-build" +cpanmakedepends="perl-module-build" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" @@ -18,19 +18,16 @@ source="https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/XML-Easy-$pkgver.tar.gz builddir="$srcdir/$_pkgreal-$pkgver" build() { - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') perl Build.PL installdirs=vendor ./Build } check() { - cd "$builddir" ./Build test } package() { - cd "$builddir" ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -- cgit v1.2.3