aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-http-body/APKBUILD
blob: 84a275e6f54eb7f685d160ba19b94d8f258bf2d7 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                    
           

                                
                                             
             
                             



                                         

                                                                                    
 


                                                                 

 

                 


           
                                      


                                                                           
                                                                                                                                                                    
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-http-body
pkgver=1.22
pkgrel=0
pkgdesc="HTTP::Body perl module"
url="https://search.cpan.org/dist/HTTP-Body/"
arch="noarch"
license="GPL-2.0 or Artistic"
depends="perl perl-http-message perl-uri"
makedepends="perl-dev perl-test-deep"
install=""
subpackages="$pkgname-doc"
source="https://search.cpan.org/CPAN/authors/id/G/GE/GETTY/HTTP-Body-$pkgver.tar.gz"
builddir="$srcdir"/HTTP-Body-$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="62665989d76699a3c3747d8f4e23d2009488bc229220bcf6fc07fc425e6ac5118f6ea48c75af681c2f29e9ed644d7a7979368cc36df77aca0544786b523c9cfe  HTTP-Body-1.22.tar.gz"