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


                               
            



                                                          
                                                                               
                                                        
                      
                          
                                                                                        
         



                                                                 


                 


                                                                           
                                                                                                                                                                              
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-path-iterator-rule
_pkgreal=Path-Iterator-Rule
_author=DAGOLDEN
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.015
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="cc310fa74855021edc86c1fcd5686684ec372062463d6f0b6e83795313ee4ee69207f20a893fbf8031991abdf40bdaa117529e92f5f3d57fb13c9700a9422481  Path-Iterator-Rule-1.015.tar.gz"