mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/perl-code-tidyall-plugin-yaml: new aport
This commit is contained in:
parent
813c34c5c4
commit
fae331d40b
36
testing/perl-code-tidyall-plugin-yaml/APKBUILD
Normal file
36
testing/perl-code-tidyall-plugin-yaml/APKBUILD
Normal file
@ -0,0 +1,36 @@
|
||||
# Automatically generated by apkbuild-cpan, template 3
|
||||
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
|
||||
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
|
||||
pkgname=perl-code-tidyall-plugin-yaml
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Code-TidyAll-Plugin-YAML
|
||||
pkgver=0.000001
|
||||
pkgrel=0
|
||||
pkgdesc="Use the YAML module to tidy YAML documents with tidyall"
|
||||
url="https://metacpan.org/release/Code-TidyAll-Plugin-YAML/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl perl-moo perl-code-tidyall perl-yaml"
|
||||
makedepends="perl-dev perl-module-build"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/Code-TidyAll-Plugin-YAML-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
build() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build
|
||||
}
|
||||
|
||||
check() {
|
||||
./Build test
|
||||
}
|
||||
|
||||
package() {
|
||||
./Build install --destdir="$pkgdir"
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
9917e42a6200e5f34d22db3d130733c95072074a519311e6ee32f6c739a9e66eb7f029669adf218903c5936ac8137129f720c04919c79cf5142dc2f507fc2618 Code-TidyAll-Plugin-YAML-0.000001.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user