summaryrefslogtreecommitdiff
path: root/user/perl-file-find-object/APKBUILD
blob: 800800d017022c2afa9b83dbbbeb8ff53effbe2d (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-file-find-object
pkgver=0.3.4
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-class-xsaccessor"
makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/File-Find-Object-$pkgver.tar.gz"
builddir="$srcdir/File-Find-Object-$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="88d69158ecc2fafb8d2bd7f0173b1e204fd8c96f3c0fefa491db4240f8fa9db52707a8d65aaa76f8459269619e6f91755c877f2a491f1eab78d043abc90f9b3f  File-Find-Object-0.3.4.tar.gz"