summaryrefslogtreecommitdiff
path: root/user/perl-path-iterator-rule
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-04-26 09:22:39 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-04-26 09:34:12 -0500
commit4f3d00c3bf2f8a4e0c78f4e3d82b9bf554dd005c (patch)
treeb1a85223928a924df7e4033bc2be9ad3de72432d /user/perl-path-iterator-rule
parentea671b928f0d991467df49334e98707b65da71e1 (diff)
downloadpackages-4f3d00c3bf2f8a4e0c78f4e3d82b9bf554dd005c.tar.gz
packages-4f3d00c3bf2f8a4e0c78f4e3d82b9bf554dd005c.tar.bz2
packages-4f3d00c3bf2f8a4e0c78f4e3d82b9bf554dd005c.tar.xz
packages-4f3d00c3bf2f8a4e0c78f4e3d82b9bf554dd005c.zip
user/perl-path-iterator-rule: new package
Diffstat (limited to 'user/perl-path-iterator-rule')
-rw-r--r--user/perl-path-iterator-rule/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-path-iterator-rule/APKBUILD b/user/perl-path-iterator-rule/APKBUILD
new file mode 100644
index 000000000..5fbd3f7be
--- /dev/null
+++ b/user/perl-path-iterator-rule/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-path-iterator-rule
+pkgver=1.014
+pkgrel=0
+pkgdesc="Perl module for terative, recursive file-finding"
+url="https://metacpan.org/pod/Path::Iterator::Rule"
+arch="noarch"
+license="Apache-2.0"
+depends="perl perl-file-pushd perl-number-compare perl-path-tiny perl-test-deep
+ perl-test-filename perl-text-glob perl-try-tiny"
+makedepends=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Path-Iterator-Rule-$pkgver.tar.gz"
+builddir="$srcdir/Path-Iterator-Rule-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="d401d3b0f59ffd15d088dc3859a118fb689d6126e5dbc7602db123ae01c461a12831768e4485732781e05d33c69c2f7be90475048633df029ba870346459c591 Path-Iterator-Rule-1.014.tar.gz"