summaryrefslogblamecommitdiff
path: root/user/perl-file-find-object-rule/APKBUILD
blob: f8938a59cb36a05d7da2b27ff3cec10238506e4c (plain) (tree)

































                                                                                                                                                                                  
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-file-find-object-rule
pkgver=0.0309
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-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/S/SH/SHLOMIF/File-Find-Object-Rule-$pkgver.tar.gz"
builddir="$srcdir/File-Find-Object-Rule-$pkgver"

build() {
	cd "$builddir"
	perl Build.PL installdirs=vendor
	./Build
}

check() {
	cd "$builddir"
	./Build test
}

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

sha512sums="d4fe0bc369faa4870bb4f66b4e1212f0597ab0eb723dfb0ab6473428657067c0a72f9b9d6354a549117e553be1ddde222ede822555f94846ba110a2f82cc4b68  File-Find-Object-Rule-0.0309.tar.gz"