Skip to content
Snippets Groups Projects
Commit 1ad8d563 authored by Celeste's avatar Celeste
Browse files

community/perl-tidy: upgrade to 20240511

also, bring the template used in line with apkbuild-cpan template 4
parent 2ec3ad6a
No related branches found
No related tags found
1 merge request!65752community/perl-tidy: upgrade to 20240511
Pipeline #233489 skipped
# Contributor: Duncan Bellamy <dunk@denkimushi.com> # Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com> # Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=perl-tidy pkgname=perl-tidy
pkgver=20240202 pkgver=20240511
pkgrel=0 pkgrel=0
pkgdesc="Parses and beautifies perl source" pkgdesc="Parses and beautifies perl source"
url="https://metacpan.org/dist/Perl-Tidy" url="https://metacpan.org/dist/Perl-Tidy"
...@@ -14,7 +14,10 @@ builddir="$srcdir/Perl-Tidy-$pkgver" ...@@ -14,7 +14,10 @@ builddir="$srcdir/Perl-Tidy-$pkgver"
build() { build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
INSTALLDIRS=vendor \
NO_PACKLIST=1 \
NO_PERLLOCAL=1
make make
} }
...@@ -25,9 +28,8 @@ check() { ...@@ -25,9 +28,8 @@ check() {
package() { package() {
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
} }
sha512sums=" sha512sums="
33d912152285f2ccb304bf7df4f2e055c5f8b3049b9556c7efe5bd2d80123316f9014e8e5f17c9698545394f466f381e306f431450a04e74d767150db43028f5 Perl-Tidy-20240202.tar.gz 39bc383d645092d121a623b90d8b6a7981e2f2ef44dbb41a34ec77e4285fa80f1223d4290363b2ab429b101bb080d738b26d0577068600d78a696948a03bc513 Perl-Tidy-20240511.tar.gz
" "
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment