summaryrefslogblamecommitdiff
path: root/user/perl-file-find-object/APKBUILD
blob: 600c66bd76d9ed63ea837f4e1e3d96937a73be80 (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.6
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"
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="62aec37a3f23b05396cf9786bd884383a621a214b2d7b1c7689c281391c81bb26ad5648f62942b6a08398930f9d74f3e526cd3139ca3d907c364475b207d6822  File-Find-Object-0.3.6.tar.gz"