mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/perl-file-find-object: new aport
This commit is contained in:
parent
b180099101
commit
a98d6b5924
1 changed files with 37 additions and 0 deletions
37
testing/perl-file-find-object/APKBUILD
Normal file
37
testing/perl-file-find-object/APKBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Contributor: Wen Heping <wenhepingalpine@sohu.com>
|
||||
# Maintainer: Wen Heping <wenhepingalpine@sohu.com>
|
||||
pkgname=perl-file-find-object
|
||||
pkgver=0.3.9
|
||||
pkgrel=0
|
||||
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=File-Find-Object
|
||||
pkgdesc="An object oriented File::Find replacement"
|
||||
url="https://metacpan.org/release/File-Find-Object/"
|
||||
arch="noarch"
|
||||
license="Artistic-2.0"
|
||||
depends="perl perl-class-xsaccessor"
|
||||
makedepends="perl-module-build"
|
||||
checkdepends="perl-file-treecreate perl-test-file"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/File-Find-Object-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
build() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
perl Build.PL \
|
||||
--installdirs=vendor \
|
||||
--create_packlist=0
|
||||
./Build
|
||||
}
|
||||
|
||||
check() {
|
||||
./Build test
|
||||
}
|
||||
|
||||
package() {
|
||||
./Build install --destdir="$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
6d4dffd7586c7b752390dbcb220d9a849becec161b251c39a5146abb3f736efb7301e296d274f2dcccc95626c00e9c43a8e4c46cae23645f4aedd67914414667 File-Find-Object-0.3.9.tar.gz
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue