summaryrefslogblamecommitdiff
path: root/system/perl-http-message/APKBUILD
blob: 839df093e111d80f60c71c9dde9e3cb95077faff (plain) (tree)
1
2
3
4
5
6
7
8
                                                      
                                                         


                                                                   


                               


                                                      
                                               

                                           

                                                                                     

                            
                                                                                        

                                    
         
                                                                 



            



                 




                                                                                                                                                                       
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-http-message
_pkgreal=HTTP-Message
_author=OALDERS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=6.18
pkgrel=0
pkgdesc="Perl class encapsulating HTTP-style messages"
url="https://metacpan.org/release/HTTP-Message"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl-lwp-mediatypes perl-encode-locale perl-http-date perl-uri perl-io-html"
makedepends=""
checkdepends="perl-try-tiny"
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="46a5d4ee6af1bdb7b320ae8ad430b4dbff9a198a60d025703fa64a83284dfe6bee08041fc43372b6ea724ab973f84c3cbca5353d6158bdfbbed612577de61206  HTTP-Message-6.18.tar.gz"