archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / perl-test-perltidy / trunk / PKGBUILD
blob1019460233fa87f0124d319587d828c516af7568
1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
3 pkgname=perl-test-perltidy
4 pkgver=20230226
5 pkgrel=1
6 pkgdesc="CPAN Test::PerlTidy module"
7 arch=('any')
8 url='https://search.cpan.org/dist/Test-PerlTidy-20130104/'
9 license=('GPL' 'PerlArtistic')
10 depends=('perl' 'perl-text-diff' 'perl-file-slurp' 'perl-tidy' 'perl-file-finder')
11 options=('!emptydirs')
12 source=(https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Test-PerlTidy-$pkgver.tar.gz)
13 sha256sums=('c0e242110795795d4dbb6c44166ce5574f5c7edba78a789d1bcae76685d803c1')
15 build() {
16   cd "${srcdir}"/Test-PerlTidy-$pkgver
18   PERL_MM_USE_DEFAULT=1 perl Makefile.PL installdirs=vendor
19   make
22 package() {
23   cd "${srcdir}"/Test-PerlTidy-$pkgver
25   make install DESTDIR="${pkgdir}"
27   find "${pkgdir}" -name '.packlist' -delete
28   find "${pkgdir}" -name '*.pod' -delete