archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-http-negotiate / trunk / PKGBUILD
bloba713528ea7505d1f9b12ec640af8742ebcfb47ec
1 # Maintainer:
3 pkgname=perl-http-negotiate
4 pkgver=6.01
5 pkgrel=10
6 pkgdesc="Choose a variant to serve"
7 arch=('any')
8 url="https://search.cpan.org/dist/HTTP-Negotiate"
9 license=('PerlArtistic' 'GPL')
10 depends=('perl' 'perl-http-message')
11 options=('!emptydirs')
12 source=(https://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Negotiate-$pkgver.tar.gz)
13 sha1sums=('4a4974639d9b64f7132cb075f551f7293f788c62')
15 build() {
16   cd HTTP-Negotiate-$pkgver
17   perl Makefile.PL INSTALLDIRS=vendor
18   make
21 check() {
22   cd HTTP-Negotiate-$pkgver
23   make test
26 package() {
27   cd HTTP-Negotiate-$pkgver
28   make DESTDIR="$pkgdir" install