diff options
-rw-r--r-- | testing/perl-xml-easy/APKBUILD | 9 |
1 files changed, 3 insertions, 6 deletions
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 } |