Commit 9c4dad17 authored by Manuel's avatar Manuel

New dep

parent bed30990
# Platform packages for Chakra
pkgname=perl-http-message
pkgver=6.03
pkgrel=1
pkgdesc="HTTP style messages"
arch=(any)
license=(PerlArtistic GPL)
options=('!emptydirs')
depends=('perl>=5.14.2' '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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment