summaryrefslogtreecommitdiff
path: root/user/perl-file-find-object-rule/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-file-find-object-rule/APKBUILD')
-rw-r--r--user/perl-file-find-object-rule/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-file-find-object-rule/APKBUILD b/user/perl-file-find-object-rule/APKBUILD
new file mode 100644
index 000000000..f8938a59c
--- /dev/null
+++ b/user/perl-file-find-object-rule/APKBUILD
@@ -0,0 +1,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.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"