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

Evangelos Foutras foutrelis at archlinux.org
Sat Nov 10 00:01:33 UTC 2018


    Date: Saturday, November 10, 2018 @ 00:01:27
  Author: foutrelis
Revision: 405444

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 405440, perl-test-perltidy/trunk/PKGBUILD)

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

Copied: perl-test-perltidy/repos/community-staging-any/PKGBUILD (from rev 405440, perl-test-perltidy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-10 00:01:27 UTC (rev 405444)
@@ -0,0 +1,29 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+
+pkgname=perl-test-perltidy
+pkgver=20130104
+pkgrel=4
+pkgdesc="CPAN Test::PerlTidy module"
+arch=('any')
+url='http://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=(http://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