[arch-commits] Commit in perl-http-server-simple/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Jun 1 11:56:04 UTC 2017


    Date: Thursday, June 1, 2017 @ 11:56:03
  Author: foutrelis
Revision: 232206

archrelease: copy trunk to community-staging-any

Added:
  perl-http-server-simple/repos/community-staging-any/
  perl-http-server-simple/repos/community-staging-any/PKGBUILD
    (from rev 232205, perl-http-server-simple/trunk/PKGBUILD)

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

Copied: perl-http-server-simple/repos/community-staging-any/PKGBUILD (from rev 232205, perl-http-server-simple/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-01 11:56:03 UTC (rev 232206)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-http-server-simple
+pkgver=0.51
+pkgrel=2
+pkgdesc="Lightweight HTTP server"
+arch=(any)
+url="http://search.cpan.org/dist/HTTP-Server-Simple"
+license=('GPL' 'PerlArtistic')
+depends=('perl-uri')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/B/BP/BPS/HTTP-Server-Simple-$pkgver.tar.gz)
+md5sums=('ef736daddc7a32a29207fa4ed5f5d62e')
+
+build() {
+  cd  "$srcdir"/HTTP-Server-Simple-$pkgver
+  PERL_USE_UNSAFE_INC=1 \
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  "$srcdir"/HTTP-Server-Simple-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}



More information about the arch-commits mailing list