[arch-commits] Commit in perl-test-perltidy/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:34:28 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:34:28
  Author: felixonmars
Revision: 659303

archrelease: copy trunk to community-staging-any

Added:
  perl-test-perltidy/repos/community-staging-any/
  perl-test-perltidy/repos/community-staging-any/PKGBUILD
    (from rev 659302, perl-test-perltidy/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: perl-test-perltidy/repos/community-staging-any/PKGBUILD (from rev 659302, perl-test-perltidy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 16:34:28 UTC (rev 659303)
@@ -0,0 +1,29 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+
+pkgname=perl-test-perltidy
+pkgver=20130104
+pkgrel=5
+pkgdesc="CPAN Test::PerlTidy module"
+arch=('any')
+url='https://search.cpan.org/dist/Test-PerlTidy-20130104/'
+license=('GPL' 'PerlArtistic')
+depends=('perl' 'perl-text-diff' 'perl-file-slurp' 'perl-tidy' 'perl-file-finder')
+options=('!emptydirs')
+source=(https://search.cpan.org/CPAN/authors/id/L/LA/LARRYL/Test-PerlTidy-$pkgver.tar.gz)
+sha256sums=('3f15d9f3f4811e348594620312258d75095237925b491ada623fa73ac9d2b9c8')
+
+build() {
+  cd "${srcdir}"/Test-PerlTidy-$pkgver
+
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL installdirs=vendor
+  make
+}
+
+package() {
+  cd "${srcdir}"/Test-PerlTidy-$pkgver
+
+  make install DESTDIR="${pkgdir}"
+
+  find "${pkgdir}" -name '.packlist' -delete
+  find "${pkgdir}" -name '*.pod' -delete
+}


More information about the arch-commits mailing list