summaryrefslogtreecommitdiff
path: root/user/perl-file-find-object-rule/APKBUILD
blob: 498f0358e3538346832b89d92317e7cc9b0c15d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-file-find-object-rule
pkgver=0.0310
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="d77f600a43a45fddf84fd9689666fb90d3dc87fb444e575a111bcebec482d570201e591764513f345941983935f1761bf4e2704d1a70babd6b3ba12ba3d8a74d  File-Find-Object-Rule-0.0310.tar.gz"