summaryrefslogblamecommitdiff
path: root/system/perl-libwww/APKBUILD
blob: be7b7d13ee8ae4430c81a39a4018a8d4583636ba (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                      
                                                          
                   



                               
           

                                              
                                              

                                           

                                                                               
                                                                      
                                                             

                                                         
                          

                                                                                                                   

         




                                                                 



                 
                                      


                                                  
                                                                                                                                                                      
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-libwww
_pkgreal=libwww-perl
_author=OALDERS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=6.76
pkgrel=0
pkgdesc="Perl module - World Wide Web library"
url="https://metacpan.org/release/libwww-perl"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl-http-date perl-http-cookies perl-http-cookiejar perl-net-http
	perl-http-daemon perl-html-parser perl-file-listing perl-www-robotrules
	perl-http-negotiate perl-uri perl-http-message perl-test-needs
	perl-lwp-mediatypes perl-encode-locale perl-try-tiny"
makedepends=""
checkdepends="perl-test-fatal perl-test-requiresinternet"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/libwww-perl-$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 -delete
}

sha512sums="8a055c3324007eb1badc3d8b8d368a46b7c1c5e5dd837ddbb862924e8c7fc13c413f50dae4ff8d32bf53774f1a95016098e56c181547f60b42dbbedf3813b897  perl-libwww-6.76.tar.gz"