[arch-commits] Commit in perl-http-daemon/repos (3 files)

Florian Pritz bluewind at archlinux.org
Thu Oct 6 12:01:26 EDT 2011


    Date: Thursday, October 6, 2011 @ 12:01:26
  Author: bluewind
Revision: 140094

db-move: moved perl-http-daemon from [testing] to [extra] (any)

Added:
  perl-http-daemon/repos/extra-any/
  perl-http-daemon/repos/extra-any/PKGBUILD
    (from rev 140090, perl-http-daemon/repos/testing-any/PKGBUILD)
Deleted:
  perl-http-daemon/repos/testing-any/

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

Copied: perl-http-daemon/repos/extra-any/PKGBUILD (from rev 140090, perl-http-daemon/repos/testing-any/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2011-10-06 16:01:26 UTC (rev 140094)
@@ -0,0 +1,53 @@
+# Maintainer : Justin "juster" Davis <jrcd83 at gmail.com>
+# Generator  : pbjam 0.01
+# $Id$
+
+pkgname=perl-http-daemon
+pkgver=6.00
+pkgrel=1
+pkgdesc="a simple http server class"
+arch=(any)
+license=(PerlArtistic GPL)
+options=('!emptydirs')
+depends=('perl>=5.8.8' 'perl-http-date>=6' 'perl-http-message'
+	 'perl-lwp-mediatypes>=6')
+makedepends=()
+checkdepends=()
+conflicts=('perl-libwww<6')
+url=http://search.cpan.org/dist/HTTP-Daemon
+source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Daemon-6.00.tar.gz)
+md5sums=(36c8048775b8b53a6fb7c9d781658926)
+sha512sums=(9fcdfc46e359bea37b10c979212f14e1cb7a1e0a24d2602b5465426fdac65dd43e4c3a73c4a956505a675a01caeb8385e20723f4362dcaa326a3d829d618b455)
+_distdir="${srcdir}/HTTP-Daemon-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:



More information about the arch-commits mailing list