summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-http-date/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/perl_modules/perl-http-date/PKGBUILD')
-rw-r--r--abs/core/perl_modules/perl-http-date/PKGBUILD57
1 files changed, 18 insertions, 39 deletions
diff --git a/abs/core/perl_modules/perl-http-date/PKGBUILD b/abs/core/perl_modules/perl-http-date/PKGBUILD
index 20ea327..245a8cf 100644
--- a/abs/core/perl_modules/perl-http-date/PKGBUILD
+++ b/abs/core/perl_modules/perl-http-date/PKGBUILD
@@ -1,51 +1,30 @@
-# Maintainer : Justin "juster" Davis <jrcd83@gmail.com>
-# Generator : pbjam 0.01
-# $Id: PKGBUILD 150639 2012-02-19 01:23:42Z allan $
+# $Id$
+# Maintainer:
pkgname=perl-http-date
-pkgver=6.01
-pkgrel=1
-pkgdesc="date conversion routines"
-arch=(any)
-license=(PerlArtistic GPL)
+pkgver=6.02
+pkgrel=4
+pkgdesc="Date conversion routines"
+arch=('any')
+url="http://search.cpan.org/dist/HTTP-Date"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
options=('!emptydirs')
-depends=('perl>=5.8.8')
-makedepends=()
-checkdepends=()
-conflicts=('perl-libwww<6')
-url=http://search.cpan.org/dist/HTTP-Date
-source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Date-6.00.tar.gz)
-md5sums=('41b875ac89c14d7f66515b52cdd12acd')
-sha512sums=('7101f30a8a3ac333d37d1c4120c3202ebeb961e742cbecd6b4af140fe575da09c3a3e5be3a2c96e8e33fa2d1e29b10abea59434c2c227d9b6386c306a377f81c')
-_distdir="${srcdir}/HTTP-Date-6.00"
+source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Date-$pkgver.tar.gz)
+sha1sums=('85f8dbcad22f2680775a185ce91a42c89e0ad2a8')
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
- )
+ cd HTTP-Date-$pkgver
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
}
check() {
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- cd "$_distdir"
- make test
- )
+ cd HTTP-Date-$pkgver
+ make test
}
package() {
- cd "$_distdir"
- make DESTDIR="$pkgdir" install
+ cd HTTP-Date-$pkgver
+ make DESTDIR="$pkgdir" install
}
-
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et: