summaryrefslogblamecommitdiff
path: root/user/perl-www-form-urlencoded/APKBUILD
blob: 5a53fa096656d502802a5e4a5e8548889d4b81ed (plain) (tree)
1
2
3
4
5
6
7
8

                                                                   


                               
           



                                                      
              
                                        
                          
                                                                                        
         
                                                                              
                                              


               


                    


                                                                           
                                                                                                                                                                              
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-www-form-urlencoded
_pkgreal=WWW-Form-UrlEncoded
_author=KAZEBURO
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.26
pkgrel=0
pkgdesc="Perl library for URL-encoded HTTP forms"
url="https://metacpan.org/release/WWW-Form-UrlEncoded"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl"
makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs=vendor
	export BREAK_BACKWARD_COMPAT=YesPlease
	./Build
}

check() {
	./Build test
}

package() {
	./Build install destdir="$pkgdir"
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="7980b42f53a7801fe02db30b87552ce4d5e7398413640a94d9abad2779085ebfc6208804ed66099161d8c3ba5e47ecb4bf8e8fa1f36f2e7297b864a25f3ac924  WWW-Form-UrlEncoded-0.26.tar.gz"