archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-tidy / trunk / PKGBUILD
blobc93cb7fdfc0619ed19cea1c7c9ba6f17d2b2b70e
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
3 # Contributor: Firmicus <francois.archlinux.org>
5 pkgname=perl-tidy
6 pkgver=20230309
7 pkgrel=1
8 pkgdesc="Parses and beautifies perl source"
9 arch=('any')
10 url="https://search.cpan.org/dist/Perl-Tidy"
11 license=('GPL' 'PerlArtistic')
12 depends=('perl>=5.10.0')
13 options=('!emptydirs')
14 source=(https://www.cpan.org/authors/id/S/SH/SHANCOCK/Perl-Tidy-$pkgver.tar.gz)
15 sha256sums=('e22949a208c618d671a18c5829b451abbe9da0da2cddd78fdbfcb036c7361c18')
17 build() {
18   cd  "${srcdir}"/Perl-Tidy-$pkgver
20   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
21   make
24 package() {
25   cd  "${srcdir}"/Perl-Tidy-$pkgver
27   make install DESTDIR="${pkgdir}"
28   find "${pkgdir}" -name '.packlist' -delete
29   find "${pkgdir}" -name '*.pod' -delete