32 lines
757 B
Bash
32 lines
757 B
Bash
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
|
|
|
_realname=LWP-Protocol-https
|
|
pkgname=perl-${_realname}
|
|
pkgver=6.04
|
|
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/G/GA/GAAS/${_realname}-${pkgver}.tar.gz")
|
|
md5sums=('1b422a7d3b5fed1eb4d748fdc9fd79a4')
|
|
|
|
build() {
|
|
cd ${_realname}-${pkgver}
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd ${_realname}-${pkgver}
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd ${_realname}-${pkgver}
|
|
make DESTDIR="$pkgdir" install
|
|
}
|