summaryrefslogblamecommitdiff
path: root/user/perl-file-find-object-rule/APKBUILD
blob: 4b5d8fc60e1eb98235cc6ebe8938702e5fc48f25 (plain) (tree)
1
2
3
4
5
6
7
8


                                                                   



                               
             




                                                          
                                                                             


                                        

                                                                                        

         




                                        



                    



                                                                           
                                                                                                                                                                                  
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-file-find-object-rule
_pkgreal=File-Find-Object-Rule
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.0312
pkgrel=0
pkgdesc="Alternative Perl interface to File::Find::Object"
url="https://metacpan.org/release/File-Find-Object-Rule"
arch="noarch"
license="Artistic-1.0-Perl"
depends="perl perl-class-xsaccessor perl-file-find-object perl-number-compare
	perl-text-glob"
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 Build.PL installdirs=vendor
	./Build
}

check() {
	./Build test
}

package() {
	./Build install destdir="$pkgdir"
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="fb8b9faa8f38d2585ec0674178e99044d2fb3e3ed6eb1c80f067b68aa54def777d192f46110be84f19b2ccfc36e3e70a0ea5f248819f5953c880b00b974d18d8  File-Find-Object-Rule-0.0312.tar.gz"