1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=perl-http-daemon
6 pkgdesc="Simple http server class"
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=('b38d092725e6fa4e0c4dc2a47e157070491bafa0dbe16c78a358e806aa7e173d')
18 cd HTTP-Daemon-${pkgver}
19 perl Makefile.PL INSTALLDIRS=vendor
24 cd HTTP-Daemon-${pkgver}
29 cd HTTP-Daemon-${pkgver}
30 make DESTDIR="${pkgdir}" install