summaryrefslogblamecommitdiff
path: root/system/perl-http-negotiate/APKBUILD
blob: 08600fb4cbba268b0cb9c8742d38dd0fd7567b2b (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                                   


                               
           
                                                            
                                                 
                                           
                           
                          
                                                                                        
         



                                                                 


                 



                                                                                                                                                                         
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-http-negotiate
_pkgreal=HTTP-Negotiate
_author=GAAS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=6.01
pkgrel=2
pkgdesc="Perl module for negotiating HTTP protocol versions"
url="https://metacpan.org/release/HTTP-Negotiate"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl-http-message"
makedepends=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="2651010f0d989fb255d37a0e4585de4779edcccd59fcad7d7f5ccc7d2c2ec420060324beebc880664d6c0d29193ce62f2d21cb6332bbfa0a3adacfa632876617  HTTP-Negotiate-6.01.tar.gz"