[arch-commits] Commit in perl-test-perltidy/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Jun 1 17:40:14 UTC 2017
Date: Thursday, June 1, 2017 @ 17:40:14
Author: felixonmars
Revision: 232408
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 232407, perl-test-perltidy/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: perl-test-perltidy/repos/community-staging-any/PKGBUILD (from rev 232407, perl-test-perltidy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2017-06-01 17:40:14 UTC (rev 232408)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+
+pkgname=perl-test-perltidy
+pkgver=20130104
+pkgrel=3
+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