[arch-commits] Commit in (4 files)

Justin Davis juster at archlinux.org
Thu Aug 18 13:02:05 UTC 2011


    Date: Thursday, August 18, 2011 @ 09:02:04
  Author: juster
Revision: 135748

Adds the perl-http-date package.

Added:
  perl-http-date/
  perl-http-date/repos/
  perl-http-date/trunk/
  perl-http-date/trunk/PKGBUILD

----------+
 PKGBUILD |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

Added: perl-http-date/trunk/PKGBUILD
===================================================================
--- perl-http-date/trunk/PKGBUILD	                        (rev 0)
+++ perl-http-date/trunk/PKGBUILD	2011-08-18 13:02:04 UTC (rev 135748)
@@ -0,0 +1,52 @@
+# Maintainer : Justin "juster" Davis <jrcd83 at gmail.com>
+# Generator  : pbjam 0.01
+# $Id$
+
+pkgname=perl-http-date
+pkgver=6.00
+pkgrel=1
+pkgdesc="date conversion routines"
+arch=(any)
+license=(PerlArtistic GPL)
+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"
+
+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
+    find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:


Property changes on: perl-http-date/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id




More information about the arch-commits mailing list