[arch-commits] Commit in perl-http-daemon/repos (testing-any testing-any/PKGBUILD)

Florian Pritz bluewind at archlinux.org
Fri Aug 19 10:12:25 UTC 2011


    Date: Friday, August 19, 2011 @ 06:12:25
  Author: bluewind
Revision: 135842

archrelease: copy trunk to testing-any

Added:
  perl-http-daemon/repos/testing-any/
  perl-http-daemon/repos/testing-any/PKGBUILD
    (from rev 135841, perl-http-daemon/trunk/PKGBUILD)

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

Copied: perl-http-daemon/repos/testing-any/PKGBUILD (from rev 135841, perl-http-daemon/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2011-08-19 10:12:25 UTC (rev 135842)
@@ -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