# Description: HTTP style messages
# URL: https://metacpan.org/pod/HTTP::Message
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: p5-encode-locale p5-http-date p5-io-html p5-lwp-mediatypes p5-uri p5-try-tiny

name=p5-http-message
version=6.44
release=1
source=(https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTTP-Message-$version.tar.gz)

build() {
  cd HTTP-Message-$version
  perl Makefile.PL INSTALLDIRS=vendor
  make
  make DESTDIR=$PKG install
  find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
}
