blob: 156d0704b8626c84377a1636ae99c035c6a4e37f (
plain) (
tree)
|
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-http-message
_pkgreal=HTTP-Message
_author=OALDERS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=6.36
pkgrel=0
pkgdesc="Perl class encapsulating HTTP-style messages"
url="https://metacpan.org/release/HTTP-Message"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl-lwp-mediatypes perl-encode-locale perl-http-date perl-uri perl-io-html"
makedepends=""
checkdepends="perl-try-tiny"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="60b753395829027b52b78ce638e17650e17792c5b1427f34a0b4a71bacb127145da90a20f9e126b8dcd86ae8d555725e01f2baea76c52ddb8702455badf51055 HTTP-Message-6.36.tar.gz"
|