summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7d560510ad1b85e8e8159f84e02579519916b155 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# CPAN Name  : XML::Compile::SOAP12
# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
# Generator  : CPANPLUS::Dist::Arch 1.30

pkgname=perl-xml-compile-soap12
pkgver=3.03
pkgrel=1
pkgdesc='Perl package that handles SOAP v1.2 protocol'
arch=('any')
url='https://metacpan.org/release/XML-Compile-SOAP12'
license=('PerlArtistic' 'GPL')
depends=(
	'perl-xml-compile>=1.40'
	'perl-xml-compile-tester>=0.05'
	'perl-xml-compile-cache>=0.995'
	'perl-xml-compile-soap>=3.08')
checkdepends=('perl-test-deep>=0.095')
source=(http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/XML-Compile-SOAP12-3.03.tar.gz)
options=(!emptydirs)
md5sums=('ec095c530d146104be7e20220414ec85')

sanitize() {
	unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
	export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" MODULEBUILDRC=/dev/null
}

build() {
	cd XML-Compile-SOAP12-3.03
	sanitize
	/usr/bin/perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	cd XML-Compile-SOAP12-3.03
	sanitize
	make test
}

package() {
	cd XML-Compile-SOAP12-3.03
	sanitize
	make install DESTDIR="$pkgdir"
	find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}