summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-http-response-encoding/PKGBUILD
blob: c65927c047af8a2da56318597f014280dc95741c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Mladen Pejakovic <pejakm@gmail.com>

pkgname=perl-http-response-encoding
pkgver=0.06
pkgrel=4
pkgdesc="Adds encoding to HTTP::Response"
arch=('any')
url="http://search.cpan.org/dist/HTTP-Response-Encoding"
license=('GPL' 'PerlArtistic')
depends=('perl-libwww')
options=('!emptydirs')
source=("https://www.cpan.org/authors/id/D/DA/DANKOGAI/HTTP-Response-Encoding-$pkgver.tar.gz")
sha256sums=('10167b8e238a682004ab0d7accbe9d76eae2db57af07c5ae2dfa808074a4a8aa')

build() {
  cd "${srcdir}"/HTTP-Response-Encoding-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd "${srcdir}"/HTTP-Response-Encoding-$pkgver
  make install DESTDIR="${pkgdir}"
  find "${pkgdir}" -name '.packlist' -delete
  find "${pkgdir}" -name '*.pod' -delete
}