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

Antonio Rojas arojas at archlinux.org
Tue Feb 18 08:45:00 UTC 2020


    Date: Tuesday, February 18, 2020 @ 08:45:00
  Author: arojas
Revision: 375774

archrelease: copy trunk to testing-any

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

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

Copied: perl-http-daemon/repos/testing-any/PKGBUILD (from rev 375773, perl-http-daemon/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2020-02-18 08:45:00 UTC (rev 375774)
@@ -0,0 +1,33 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=perl-http-daemon
+pkgver=6.06
+pkgrel=1
+pkgdesc="Simple http server class"
+arch=('any')
+url='https://metacpan.org/pod/HTTP::Daemon'
+license=('PerlArtistic' 'GPL')
+depends=('perl' 'perl-http-date' 'perl-http-message' 'perl-lwp-mediatypes')
+makedepends=('perl-module-build-tiny')
+checkdepends=('perl-test-needs')
+options=('!emptydirs')
+source=(https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTTP-Daemon-${pkgver}.tar.gz)
+sha256sums=('fc03a161b54553f766457a4267e7066767f54ad01cacfe9a91d7caa2a0319bad')
+
+build() {
+  cd "${srcdir}/HTTP-Daemon-${pkgver}"
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "${srcdir}/HTTP-Daemon-${pkgver}"
+  make test
+}
+
+package() {
+  cd "${srcdir}/HTTP-Daemon-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list