archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-http-negotiate / trunk / PKGBUILD
blobd05f302595e12b4dca89b0a0eba05ef7295afff6
1 # Maintainer:
3 pkgname=perl-http-negotiate
4 pkgver=6.01
5 pkgrel=11
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 sha256sums=('1c729c1ea63100e878405cda7d66f9adfd3ed4f1d6cacaca0ee9152df728e016')
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