blob: a7439733837b93c22dcfdc58e2e8dc0e5db222d9 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Maintainer : Justin "juster" Davis <jrcd83@gmail.com>
# Generator : pbjam 0.01
# $Id: PKGBUILD 150641 2012-02-19 01:25:44Z allan $
pkgname=perl-http-message
pkgver=6.03
pkgrel=1
pkgdesc="HTTP style messages"
arch=(any)
license=(PerlArtistic GPL)
options=('!emptydirs')
depends=('perl>=5.8.8' 'perl-encode-locale>=1' 'perl-html-parser>=3.33'
'perl-http-date>=6' 'perl-lwp-mediatypes>=6' 'perl-uri>=1.10')
makedepends=()
checkdepends=()
conflicts=('perl-libwww<6')
url=http://search.cpan.org/dist/HTTP-Message
source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Message-6.02.tar.gz)
md5sums=('a6b28e44f7b5e5573362f042d522a456')
sha512sums=('1091346307bf063ea6a65ddc8811da368d6080a11776fa5c4dc9df6beb9c8bc8cbe512fd711d44c43d4bd90a65c7195a1d3d5ed10257ef1e17d2145971d89c3c')
_distdir="${srcdir}/HTTP-Message-6.02"
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
cd "$_distdir"
/usr/bin/perl Makefile.PL
make
)
}
check() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
cd "$_distdir"
make test
)
}
package() {
cd "$_distdir"
make DESTDIR="$pkgdir" install
}
# Local Variables:
# mode: shell-script
# sh-basic-offset: 2
# End:
# vim:set ts=2 sw=2 et:
|