diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 19:18:14 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 19:18:14 +0000 |
commit | 92077d1b130c77707099afa18557b2fe1509c2a2 (patch) | |
tree | b95f2a66d98fe6525ffabe690c09a2619384a7c8 /user/perl-file-finder/APKBUILD | |
parent | c815c850cfd211238b3ec1466adbdbf8814236f2 (diff) | |
download | packages-92077d1b130c77707099afa18557b2fe1509c2a2.tar.gz packages-92077d1b130c77707099afa18557b2fe1509c2a2.tar.bz2 packages-92077d1b130c77707099afa18557b2fe1509c2a2.tar.xz packages-92077d1b130c77707099afa18557b2fe1509c2a2.zip |
user/perl-file-finder: new package
Diffstat (limited to 'user/perl-file-finder/APKBUILD')
-rw-r--r-- | user/perl-file-finder/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-file-finder/APKBUILD b/user/perl-file-finder/APKBUILD new file mode 100644 index 000000000..a28247770 --- /dev/null +++ b/user/perl-file-finder/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-file-finder +pkgver=0.53 +pkgrel=0 +pkgdesc="Wrap Perl File::Find" +url="https://metacpan.org/release/File-Finder" +arch="noarch" +license="Artistic-1.0-Perl" +depends="perl-text-glob" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/M/ME/MERLYN/File-Finder-$pkgver.tar.gz" +builddir="$srcdir/File-Finder-$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="abcbc5b5c7ae09eb13e62ab1656e79a25becafb91eeef241fc0803ba0b35ae902c93db2240dfff6342952df7f0ff589350f63fdb1ccead64816f51bf52e366f0 File-Finder-0.53.tar.gz" |