summaryrefslogblamecommitdiff
path: root/user/perl-cgi/APKBUILD
blob: ed8a603eed054955aed06d5e2cd429300a8b9e4d (plain) (tree)
1
2
3
4
5
6
7
8
                                                  
                                                          
                



                               
           



                                                   
                      
                          
                                                                 
                      
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                              
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-cgi
_pkgreal=CGI
_author=LEEJO
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=4.59
pkgrel=0
pkgdesc="Handle CGI requests and responses in Perl"
url="https://metacpan.org/release/CGI"
arch="noarch"
license="Artistic-2.0"
depends="perl-html-parser"
checkdepends="perl-test-deep perl-test-nowarnings perl-test-warn"
makedepends="perl-dev"
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="df0b6e87f6d31930cd861f758984cceb8bed1d38da9954401140b0af1f01031570aaed9c8769b53aee49283f462658aacbe97ecb7ebe9db734512a2ad3898bd7  CGI-4.59.tar.gz"