summaryrefslogblamecommitdiff
path: root/user/perl-parse-recdescent/APKBUILD
blob: 04b1037c131acc5eca56613e50c631b6b2556bc9 (plain) (tree)
1
2
3
4
5
6
7

                                                                   


                               





                                                
                                           
                      
                          
                                                                                        
         



                                                                 


                 



                                                                                                                                                                               
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-parse-recdescent
_pkgreal=Parse-RecDescent
_author=JTBRAUN
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.967015
pkgrel=0
pkgdesc="Generate Recursive-Descent Parsers"
url="https://metacpan.org/pod/Parse::RecDescent"
arch="noarch"
license="Artistic-1.0-Perl AND GPL-2.0"
depends="perl"
checkdepends="perl-test-warn perl-test-pod"
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="38adbfc9a88f09d0465d862b845f48c0921ce462ffccaa7ce8b5f1b7090f33f70e7f00f9ee787fd698b5539804412c44f03e7942cf675d53a17a84c3510e5aa4  Parse-RecDescent-1.967015.tar.gz"