summaryrefslogblamecommitdiff
path: root/user/perl-plack/APKBUILD
blob: 4e80e0b0e75e2dfc007b4da03a07372437fa7cea (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-plack
_pkgreal=Plack
_author=MIYAGAWA
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.0051
pkgrel=0
pkgdesc="Perl PSGI toolkit"
url="https://metacpan.org/release/Plack"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl-apache-logformat-compiler perl-cookie-baker perl-devel-stacktrace
	perl-devel-stacktrace-ashtml perl-file-sharedir
	perl-file-sharedir-install perl-filesys-notify-simple
	perl-hash-multivalue perl-http-entity-parser perl-http-headers-fast
	perl-http-message perl-stream-buffered perl-try-tiny perl-uri
	perl-www-form-urlencoded perl"
checkdepends="perl-test-requires perl-test-tcp"
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="be4b03f4b2cc6766be4ad06b1405e4513d475676ce8be7b3fd8bcb48cbfeedb7aef67df14a353f49d6b97ecd769f87b0f0787898148c849949f6936486c7ad5b  Plack-1.0051.tar.gz"