Files
MSYS2-packages/perl-LWP-Protocol-https/PKGBUILD
2018-02-14 09:33:54 +03:00

32 lines
786 B
Bash

# Maintainer: Alexey Pavlov <alexpux@gmail.com>
_realname=LWP-Protocol-https
pkgname=perl-${_realname}
pkgver=6.07
pkgrel=1
pkgdesc="Provide https support for LWP::UserAgent"
arch=('any')
url="https://metacpan.org/release/LWP-Protocol-https"
groups=('perl-modules')
license=('PerlArtistic' 'GPL')
depends=('perl' 'perl-IO-Socket-SSL' 'perl-Mozilla-CA' 'perl-Net-HTTP' 'perl-libwww')
options=('!emptydirs')
source=("https://www.cpan.org/authors/id/O/OA/OALDERS/${_realname}-$pkgver.tar.gz")
sha256sums=('522cc946cf84a1776304a5737a54b8822ec9e79b264d0ba0722a70473dbfb9e7')
build() {
cd ${_realname}-${pkgver}
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd ${_realname}-${pkgver}
make test
}
package() {
cd ${_realname}-${pkgver}
make DESTDIR="$pkgdir" install
}