aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-26 01:14:46 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-27 10:23:33 +0000
commitd9d401a0e50ea9f60facf38aab4e440603173254 (patch)
tree58a8cb2bcc971e455780c75d7af888d8f4b1a418
parent332a3180c9e70f98ef5f328c6d281bef0f8196e3 (diff)
downloadaports-d9d401a0e50ea9f60facf38aab4e440603173254.tar.bz2
aports-d9d401a0e50ea9f60facf38aab4e440603173254.tar.xz
testing/perl-xml-easy: modernize, fix license
-rw-r--r--testing/perl-xml-easy/APKBUILD9
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
}