diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 20:02:05 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 20:02:05 +0000 |
commit | 72a3cc2e6fca21236883c689fc8f6d9fbc7a62fe (patch) | |
tree | ed8450bb63b257f07854be537818ce2d25ae387c /user/perl-file-find-object-rule | |
parent | 0fe3ba057ebb844b6812cd1350aae2b2a6b7b79c (diff) | |
download | packages-72a3cc2e6fca21236883c689fc8f6d9fbc7a62fe.tar.gz packages-72a3cc2e6fca21236883c689fc8f6d9fbc7a62fe.tar.bz2 packages-72a3cc2e6fca21236883c689fc8f6d9fbc7a62fe.tar.xz packages-72a3cc2e6fca21236883c689fc8f6d9fbc7a62fe.zip |
user/perl-file-find-object-rule: new package
Diffstat (limited to 'user/perl-file-find-object-rule')
-rw-r--r-- | user/perl-file-find-object-rule/APKBUILD | 34 |
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" |