diff options
author | Timothy Legge <timlegge@gmail.com> | 2019-03-23 19:34:50 +0000 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-03-26 11:38:05 +0000 |
commit | e75ee09546af2e5f84bfb760cd757fec695b7da6 (patch) | |
tree | 6b8066f5433e7bbcab5b096b41cfaa6961231f36 | |
parent | 5081c1ac4af85be8f9e2454f09179fbb7fdcea74 (diff) | |
download | aports-e75ee09546af2e5f84bfb760cd757fec695b7da6.tar.bz2 aports-e75ee09546af2e5f84bfb760cd757fec695b7da6.tar.xz |
perl-xml-easy new aport
-rw-r--r-- | testing/perl-xml-easy/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/perl-xml-easy/APKBUILD b/testing/perl-xml-easy/APKBUILD new file mode 100644 index 0000000000..7ca942bb8b --- /dev/null +++ b/testing/perl-xml-easy/APKBUILD @@ -0,0 +1,38 @@ +# Automatically generated by apkbuild-cpan, template 2 +# Contributor: Timothy Legge <timlegge@gmail.com> +# Maintainer: Timothy Legge <timlegge@gmail.com> +pkgname=perl-xml-easy +_pkgreal=XML-Easy +pkgver=0.011 +pkgrel=0 +pkgdesc="XML processing with a clean interface" +url="https://metacpan.org/release/XML-Easy/" +arch="all" +license="GPL PerlArtistic" +cpandepends="perl-params-classify" +cpanmakedepends="perl-params-classify perl-module-build" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +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 +} + +sha512sums="19e325a2968cd62e255e6f4e3e870a15f84c2d69ea6a1bf457b1de25d352554285f7162c01fd1dbb363bbad6ae882bc7d49b94655a4795664a735392871b2e02 XML-Easy-0.011.tar.gz" |