[arch-commits] Commit in perl-cwd-guard/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Thu Apr 14 05:39:06 UTC 2016
Date: Thursday, April 14, 2016 @ 07:39:06
Author: fyan
Revision: 170868
archrelease: copy trunk to community-any
Added:
perl-cwd-guard/repos/community-any/PKGBUILD
(from rev 170867, perl-cwd-guard/trunk/PKGBUILD)
Deleted:
perl-cwd-guard/repos/community-any/PKGBUILD
----------+
PKGBUILD | 75 ++++++++++++++++++++++++++-----------------------------------
1 file changed, 33 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-14 05:38:38 UTC (rev 170867)
+++ PKGBUILD 2016-04-14 05:39:06 UTC (rev 170868)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: François Charette <firmicus ατ gmx δοτ net>
-
-pkgname=perl-cwd-guard
-pkgver=0.04
-pkgrel=1
-pkgdesc="Temporary changing working directory (chdir)"
-arch=('any')
-url="http://search.cpan.org/dist/Cwd-Guard/"
-license=('GPL' 'PerlArtistic')
-depends=('perl')
-options=('!emptydirs')
-source=("http://search.cpan.org/CPAN/authors/id/K/KA/KAZEBURO/Cwd-Guard-$pkgver.tar.gz")
-md5sums=('26d12d3e4313943c7754afeec0f6462c')
-
-build() {
- export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
- PERL_AUTOINSTALL=--skipdeps \
- PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
- PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
- MODULEBUILDRC=/dev/null
-
- cd "$srcdir/Cwd-Guard-$pkgver"
- /usr/bin/perl Build.PL
- ./Build
-}
-
-check() {
- export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- cd "$srcdir/Cwd-Guard-$pkgver"
- ./Build test
-}
-
-package() {
- export PERL_AUTOINSTALL=--skipdeps \
- PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
- PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'"
-
- cd "$srcdir/Cwd-Guard-$pkgver"
- ./Build install
-}
Copied: perl-cwd-guard/repos/community-any/PKGBUILD (from rev 170867, perl-cwd-guard/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-04-14 05:39:06 UTC (rev 170868)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-cwd-guard
+pkgver=0.05
+pkgrel=1
+pkgdesc="Temporary changing working directory (chdir)"
+arch=('any')
+url="http://search.cpan.org/dist/Cwd-Guard/"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+makedepends=('perl-module-build')
+checkdepends=('perl-test-requires')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/K/KA/KAZEBURO/Cwd-Guard-$pkgver.tar.gz")
+md5sums=('3d9c31722ab475fcb095716fe80c6bb1')
+
+build() {
+ cd "$srcdir/Cwd-Guard-$pkgver"
+ perl Build.PL installdirs=vendor
+ ./Build
+}
+
+check() {
+ cd "$srcdir/Cwd-Guard-$pkgver"
+ ./Build test
+}
+
+package() {
+ cd "$srcdir/Cwd-Guard-$pkgver"
+ ./Build install destdir="$pkgdir"
+}
More information about the arch-commits
mailing list