OCaml 4.14.0 rebuild
[arch-packages.git] / perl-http-daemon / trunk / PKGBUILD
blob3b080073f724723da6cc0b55d950444e138537d1
1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=perl-http-daemon
4 pkgver=6.14
5 pkgrel=2
6 pkgdesc="Simple http server class"
7 arch=('any')
8 url='https://metacpan.org/pod/HTTP::Daemon'
9 license=('PerlArtistic' 'GPL')
10 depends=('perl' 'perl-http-date' 'perl-http-message' 'perl-lwp-mediatypes')
11 makedepends=('perl-module-build-tiny')
12 checkdepends=('perl-test-needs')
13 options=('!emptydirs')
14 source=(https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTTP-Daemon-${pkgver}.tar.gz)
15 sha256sums=('f0767e7f3cbb80b21313c761f07ad8ed253bce9fa2d0ba806b3fb72d309b2e1d')
17 build() {
18   cd "${srcdir}/HTTP-Daemon-${pkgver}"
19   perl Makefile.PL INSTALLDIRS=vendor
20   make
23 check() {
24   cd "${srcdir}/HTTP-Daemon-${pkgver}"
25   make test
28 package() {
29   cd "${srcdir}/HTTP-Daemon-${pkgver}"
30   make DESTDIR="${pkgdir}" install
33 # vim: ts=2 sw=2 et: