archrelease: copy trunk to testing-x86_64
[arch-packages.git] / perl-http-message / trunk / PKGBUILD
blobc369609f4069d22435824f809871240ed586ce44
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Justin "juster" Davis <jrcd83@gmail.com>
3 # Generator : pbjam 0.01
5 pkgname=perl-http-message
6 pkgver=6.44
7 pkgrel=1
8 pkgdesc="HTTP style messages"
9 arch=('any')
10 url='https://search.cpan.org/dist/HTTP-Message'
11 license=('PerlArtistic' 'GPL')
12 options=('!emptydirs')
13 depends=('perl' 'perl-clone' 'perl-encode-locale' 'perl-http-date' 'perl-io-html'
14          'perl-lwp-mediatypes' 'perl-uri')
15 checkdepends=('perl-io-compress-brotli' 'perl-test-needs' 'perl-try-tiny')
16 conflicts=('perl-libwww<6')
17 source=("https://github.com/libwww-perl/HTTP-Message/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
18 sha512sums=('7c30141fc78722643d691c1c6cda77cbaf855d3da3ec6fb2e1cf1463af38c60cc67e218223769c6f0b6250bcef85c771aca7e6f2b006439af04b6cdf5e72609f')
20 build() {
21   cd HTTP-Message-$pkgver
22   perl Makefile.PL INSTALLDIRS=vendor
23   make
26 check() {
27   cd HTTP-Message-$pkgver
28   make test
31 package() {
32   cd HTTP-Message-$pkgver
33   make DESTDIR="$pkgdir" install
36 # vim:set ts=2 sw=2 et: