blob: be9c20e887d4ff1e481d03ed68168d8a38695f87 (
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
|
# $Id: PKGBUILD 3654 2009-10-07 08:13:13Z spupykin $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Mladen Pejakovic <pejakm@gmail.com>
pkgname=perl-http-response-encoding
pkgver=0.06
pkgrel=1
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=(http://www.cpan.org/authors/id/D/DA/DANKOGAI/HTTP-Response-Encoding-$pkgver.tar.gz)
md5sums=('7e1d46f2d88022580e1a18bb7ac4ab71')
build() {
cd $srcdir/HTTP-Response-Encoding-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
cd $srcdir/HTTP-Response-Encoding-$pkgver
make install DESTDIR=$pkgdir || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}
|