# Maintainer:
pkgname=perl-http-negotiate
pkgver=6.01
pkgrel=12
pkgdesc="Choose a variant to serve"
arch=('any')
url="https://search.cpan.org/dist/HTTP-Negotiate"
license=('PerlArtistic' 'GPL')
depends=('perl' 'perl-http-message')
options=('!emptydirs')
source=(https://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Negotiate-$pkgver.tar.gz)
sha256sums=('1c729c1ea63100e878405cda7d66f9adfd3ed4f1d6cacaca0ee9152df728e016')
build() {
cd HTTP-Negotiate-$pkgver
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd HTTP-Negotiate-$pkgver
make test
}
package() {
cd HTTP-Negotiate-$pkgver
make DESTDIR="$pkgdir" install
}