summaryrefslogblamecommitdiff
path: root/user/perl-path-iterator-rule/APKBUILD
blob: 785d2ee3cc65ce2fab2f8c8ca46cc16b417dcb2c (plain) (tree)
1
2
3
4
5
6
7
                                                         

                                                                   



                               





                                                          
                                                                               
                                                        
                      
                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                              
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-path-iterator-rule
_pkgreal=Path-Iterator-Rule
_author=DAGOLDEN
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.014
pkgrel=0
pkgdesc="Perl module for terative, recursive file-finding"
url="https://metacpan.org/pod/Path::Iterator::Rule"
arch="noarch"
license="Apache-2.0"
depends="perl perl-file-pushd perl-number-compare perl-path-tiny perl-test-deep
	perl-test-filename perl-text-glob perl-try-tiny"
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="d401d3b0f59ffd15d088dc3859a118fb689d6126e5dbc7602db123ae01c461a12831768e4485732781e05d33c69c2f7be90475048633df029ba870346459c591  Path-Iterator-Rule-1.014.tar.gz"