APKBUILD 1.09 KB
Newer Older
1
2
3
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-file-find-object-rule
Síle Ekaterin Aman's avatar
Síle Ekaterin Aman committed
4
5
6
7
_pkgreal=File-Find-Object-Rule
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
8
pkgver=0.0312
9
10
11
12
13
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"
14
depends="perl perl-class-xsaccessor perl-file-find-object perl-number-compare
15
16
17
	perl-text-glob"
makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
Síle Ekaterin Aman's avatar
Síle Ekaterin Aman committed
18
19
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

build() {
	perl Build.PL installdirs=vendor
	./Build
}

check() {
	./Build test
}

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

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