summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 20:01:16 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 20:01:16 +0000
commit0fe3ba057ebb844b6812cd1350aae2b2a6b7b79c (patch)
tree669fb129151917d6befb0439a33a75563bf8784a
parent6e4526d55bbb594cb3db7520b8401521a74a3c18 (diff)
downloadpackages-0fe3ba057ebb844b6812cd1350aae2b2a6b7b79c.tar.gz
packages-0fe3ba057ebb844b6812cd1350aae2b2a6b7b79c.tar.bz2
packages-0fe3ba057ebb844b6812cd1350aae2b2a6b7b79c.tar.xz
packages-0fe3ba057ebb844b6812cd1350aae2b2a6b7b79c.zip
user/perl-file-find-object: new package
-rw-r--r--user/perl-file-find-object/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-file-find-object/APKBUILD b/user/perl-file-find-object/APKBUILD
new file mode 100644
index 000000000..b35c550d5
--- /dev/null
+++ b/user/perl-file-find-object/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=perl-file-find-object
+pkgver=0.3.2
+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-v$pkgver.tar.gz"
+builddir="$srcdir/File-Find-Object-v$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="58ca07083da520aee03945259ac89b6b584728d89ad52aea1a6f19a14da73fc92fcfc46c01656130d64fbc9fc9e4b1c5ef56274f30ebe3711972235dd8945956 File-Find-Object-v0.3.2.tar.gz"