[arch-commits] Commit in perl-test-pod-coverage/repos/community-any (2 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Tue Jul 1 14:32:21 UTC 2014
Date: Tuesday, July 1, 2014 @ 16:32:20
Author: spupykin
Revision: 114303
archrelease: copy trunk to community-any
Added:
perl-test-pod-coverage/repos/community-any/PKGBUILD
(from rev 114302, perl-test-pod-coverage/trunk/PKGBUILD)
Deleted:
perl-test-pod-coverage/repos/community-any/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++-------------------------------------
1 file changed, 27 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-07-01 14:32:11 UTC (rev 114302)
+++ PKGBUILD 2014-07-01 14:32:20 UTC (rev 114303)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=perl-test-pod-coverage
-pkgver=1.08
-pkgrel=2
-pkgdesc="CPAN Test::Pod::Coverage module"
-arch=('any')
-url="http://search.cpan.org/dist/Test-Pod-Coverage/"
-license=('PerlArtistic')
-depends=('perl-pod-coverage')
-options=(!emptydirs)
-source=("http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/Test-Pod-Coverage-$pkgver.tar.gz")
-md5sums=('33405cca7c75b7b89c06ba30eea66692')
-
-build() {
- _dir=$(find $srcdir -maxdepth 2 -type f -name 'Makefile.PL')
- if [ ! -z "$_dir" ]; then
- cd $(dirname "$_dir")
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
- make
- make install DESTDIR="${pkgdir}"
-
- else
- _dir=$(find $srcdir -maxdepth 2 -type f -name 'Build.PL')
- if [ ! -z "$_dir" ]; then
- cd $(dirname "$_dir")
- PERL_MM_USE_DEFAULT=1 perl Build.PL INSTALLDIRS=vendor
- ./Build
- ./Build install destdir=${pkgdir}
-
- else
- echo "error: failed to detect build method for $pkgname"
- echo "you may be able to fix this by editing the PKGBUILD"
- return 1
- fi fi
-
- # remove perllocal.pod and .packlist
- find ${pkgdir} -name perllocal.pod -delete
- find ${pkgdir} -name .packlist -delete
-}
Copied: perl-test-pod-coverage/repos/community-any/PKGBUILD (from rev 114302, perl-test-pod-coverage/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-07-01 14:32:20 UTC (rev 114303)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-test-pod-coverage
+pkgver=1.08
+pkgrel=3
+pkgdesc="CPAN Test::Pod::Coverage module"
+arch=('any')
+url="http://search.cpan.org/dist/Test-Pod-Coverage/"
+license=('PerlArtistic')
+depends=('perl-pod-coverage')
+options=(!emptydirs)
+source=("http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/Test-Pod-Coverage-$pkgver.tar.gz")
+md5sums=('33405cca7c75b7b89c06ba30eea66692')
+
+build() {
+ cd $srcdir/Test-Pod-Coverage-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd $srcdir/Test-Pod-Coverage-$pkgver
+ make install DESTDIR=$pkgdir
+ find $pkgdir -name '.packlist' -delete
+ find $pkgdir -name '*.pod' -delete
+}
More information about the arch-commits
mailing list