summaryrefslogtreecommitdiff
path: root/user/perl-lwp-protocol-https
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 00:01:37 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 00:01:37 +0000
commit55f2407cd62f49f62e6a2f84fc29ad9dd6f400b3 (patch)
tree3640cec823da0bc8c93cd42161e2802bd09f2917 /user/perl-lwp-protocol-https
parent32a769011bc03ee3bec63bb270b733dc7f3d9419 (diff)
downloadpackages-55f2407cd62f49f62e6a2f84fc29ad9dd6f400b3.tar.gz
packages-55f2407cd62f49f62e6a2f84fc29ad9dd6f400b3.tar.bz2
packages-55f2407cd62f49f62e6a2f84fc29ad9dd6f400b3.tar.xz
packages-55f2407cd62f49f62e6a2f84fc29ad9dd6f400b3.zip
user/perl-lwp-protocol-https: new package
Diffstat (limited to 'user/perl-lwp-protocol-https')
-rw-r--r--user/perl-lwp-protocol-https/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-lwp-protocol-https/APKBUILD b/user/perl-lwp-protocol-https/APKBUILD
new file mode 100644
index 000000000..ccd4d42fc
--- /dev/null
+++ b/user/perl-lwp-protocol-https/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-lwp-protocol-https
+_pkgname=LWP-Protocol-https
+pkgver=6.07
+pkgrel=0
+pkgdesc="HTTPS support for Perl LWP"
+url="https://metacpan.org/release/LWP-Protocol-https"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends="perl-io-socket-ssl perl-libwww perl-mozilla-ca perl-net-http"
+checkdepends="perl-test-requiresinternet"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-$pkgver.tar.gz"
+builddir="$srcdir/LWP-Protocol-https-$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="4a07cd8a1c44e31781069a632a77f3af43747933420e831b4fd4a12faac7dc04f0c6b10ea773c3e14ecb66209a547b3587c0e3f481a55b9929db65f7b10343aa LWP-Protocol-https-6.07.tar.gz"