diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 19:26:00 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 19:26:10 +0000 |
commit | ec2651fdd78a59a55639e7a19289ec91c367addf (patch) | |
tree | 640ec7b8807c978fec7cfe9ed2840fa2735a9da5 /user | |
parent | cb98b7e8103987d82f8700a30b3ead1d6fd8f0bd (diff) | |
download | packages-ec2651fdd78a59a55639e7a19289ec91c367addf.tar.gz packages-ec2651fdd78a59a55639e7a19289ec91c367addf.tar.bz2 packages-ec2651fdd78a59a55639e7a19289ec91c367addf.tar.xz packages-ec2651fdd78a59a55639e7a19289ec91c367addf.zip |
user/perl-test-perltidy: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-test-perltidy/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-test-perltidy/APKBUILD b/user/perl-test-perltidy/APKBUILD new file mode 100644 index 000000000..392257c83 --- /dev/null +++ b/user/perl-test-perltidy/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-test-perltidy +pkgver=20130104 +pkgrel=0 +pkgdesc="Check all your Perl files for tidiness" +url="https://metacpan.org/release/Test-PerlTidy" +arch="noarch" +license="Artistic-1.0-Perl" +depends="perl-file-finder perl-file-slurp perl-perl-tidy perl-text-diff" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/L/LA/LARRYL/Test-PerlTidy-$pkgver.tar.gz" +builddir="$srcdir/Test-PerlTidy-$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="47d77083ec6f4808ac60bdb19431b3013b996f83506b0af490a6fa52f4f71a8c1812cf21b447568661495c845d524f9c2be6842380bd41c9ccfe22ec6acd802f Test-PerlTidy-20130104.tar.gz" |