32 lines
759 B
Bash
32 lines
759 B
Bash
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
|
|
|
_realname=LWP-Protocol-https
|
|
pkgname=perl-${_realname}
|
|
pkgver=6.06
|
|
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=("http://search.cpan.org/CPAN/authors/id/M/MS/MSCHILLI/${_realname}-$pkgver.tar.gz")
|
|
md5sums=('06f5dfd33b07f6594a429dbbd5e6a2d1')
|
|
|
|
build() {
|
|
cd ${_realname}-${pkgver}
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd ${_realname}-${pkgver}
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd ${_realname}-${pkgver}
|
|
make DESTDIR="$pkgdir" install
|
|
}
|