summaryrefslogtreecommitdiff
path: root/user/perl-soap-lite/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-soap-lite/APKBUILD')
-rw-r--r--user/perl-soap-lite/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/perl-soap-lite/APKBUILD b/user/perl-soap-lite/APKBUILD
new file mode 100644
index 000000000..fadf68f8d
--- /dev/null
+++ b/user/perl-soap-lite/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-soap-lite
+_pkgname=SOAP-Lite
+pkgver=1.27
+pkgrel=0
+pkgdesc="Perl's Web Services Toolkit"
+url="https://metacpan.org/release/SOAP-Lite"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends="perl-class-inspector perl-io-sessiondata perl-io-socket-ssl
+ perl-libwww perl-lwp-protocol-https perl-task-weaken perl-uri
+ perl-xml-parser perl-xml-parser-lite"
+checkdepends="perl-test-warn"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/P/PH/PHRED/SOAP-Lite-$pkgver.tar.gz"
+builddir="$srcdir/SOAP-Lite-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="38ecd0eb2af3ca415cb82e98a68aabd2cd3eca1625a7850723ae3c9f03f32f1ce3141d2a9382b80e250a88e3007eb7a0aa75f47c7e593c2c2025a29c8c32ee3b SOAP-Lite-1.27.tar.gz"