summaryrefslogblamecommitdiff
path: root/user/perl-file-find-object/APKBUILD
blob: 72acc2abc13c4382cf51610c9362d6325b8ea157 (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-file-find-object
_pkgreal=File-Find-Object
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.3.7
pkgrel=0
pkgdesc="Object-oriented File::Find replacement for Perl"
url="https://metacpan.org/release/File-Find-Object"
arch="noarch"
license="Artistic-2.0"
depends="perl perl-class-xsaccessor perl-file-treecreate"
checkdepends="perl-test-file"
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_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="d6bf9835d3fef13bdcf5b2821ac359279b9779c76658505ff487cc0df73e26912999b8630df997ba98e1d15c4f69cc71312c76327bcb9deb72a94d1ffdb7cb2d  File-Find-Object-0.3.7.tar.gz"