archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-http-daemon / trunk / PKGBUILD
blob16f1a17e1d736653b49b976db6d232a4746dfd1e
1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=perl-http-daemon
4 pkgver=6.16
5 pkgrel=1
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=('b38d092725e6fa4e0c4dc2a47e157070491bafa0dbe16c78a358e806aa7e173d')
17 build() {
18   cd HTTP-Daemon-${pkgver}
19   perl Makefile.PL INSTALLDIRS=vendor
20   make
23 check() {
24   cd HTTP-Daemon-${pkgver}
25   make test
28 package() {
29   cd HTTP-Daemon-${pkgver}
30   make DESTDIR="${pkgdir}" install
33 # vim: ts=2 sw=2 et: