ayaports/user/perl-rpc-xml/APKBUILD

46 lines
1.1 KiB
Text
Raw Normal View History

2023-08-13 21:38:08 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=perl-rpc-xml
_pkgname='RPC-XML'
pkgver=0.82
pkgrel=0
pkgdesc="A set of classes for core data, message and XML handling"
url="https://metacpan.org/dist/RPC-XML"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0-or-later"
depends="
perl
perl-xml-parser
perl-xml-libxml
perl-net-server
perl-http-daemon
perl-datetime-format-iso8601
"
source="https://cpan.metacpan.org/authors/id/R/RJ/RJRAY/$_pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
export PERL_MM_USE_DEFAULT=1 PERL5LIB='' \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR=$pkgdir"
perl Makefile.PL
make
}
check() {
export PERL_MM_USE_DEFAULT=1 PERL5LIB=''
make test
}
package() {
make install
# otherwise perl breaks
find "$pkgdir" \( -name '.packlist' -or -name '*.pod' \) -exec rm '{}' +
}
sha512sums="
e5d1092a2807c2bd423502dd2ed53a72c57384b67bb4709e86a64a6fe37ce8af580998e62fcfa6a48d66d5308d9dc270c74e4293617b9f23a654e379cde4025f RPC-XML-0.82.tar.gz
"