Files
MSYS2-packages/perl-LWP-Protocol-https/PKGBUILD
2020-12-19 11:06:03 +08:00

32 lines
786 B
Bash

# Maintainer: Alexey Pavlov <alexpux@gmail.com>
_realname=LWP-Protocol-https
pkgname=perl-${_realname}
pkgver=6.10
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=('cecfc31fe2d4fc854cac47fce13d3a502e8fdfe60c5bc1c09535743185f2a86c')
build() {
cd ${_realname}-${pkgver}
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd ${_realname}-${pkgver}
make test
}
package() {
cd ${_realname}-${pkgver}
make DESTDIR="$pkgdir" install
}