[arch-commits] Commit in perl-file-pushd/repos/community-any (PKGBUILD PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Wed Mar 20 17:21:00 UTC 2013
Date: Wednesday, March 20, 2013 @ 18:20:59
Author: eric
Revision: 86614
archrelease: copy trunk to community-any
Added:
perl-file-pushd/repos/community-any/PKGBUILD
(from rev 86613, perl-file-pushd/trunk/PKGBUILD)
Deleted:
perl-file-pushd/repos/community-any/PKGBUILD
----------+
PKGBUILD | 97 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-03-20 17:20:40 UTC (rev 86613)
+++ PKGBUILD 2013-03-20 17:20:59 UTC (rev 86614)
@@ -1,49 +0,0 @@
-# Packager: Justin Davis <jrcd83 at gmail.com>
-# $Id$
-
-pkgname=perl-file-pushd
-pkgver=1.002
-pkgrel=1
-pkgdesc="change directory temporarily for a limited scope"
-arch=(any)
-license=(Apache)
-options=(!emptydirs)
-depends=('perl>=5.005')
-makedepends=('perl-extutils-makemaker>=6.30')
-url=https://metacpan.org/release/File-pushd
-source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/File-pushd-${pkgver}.tar.gz")
-md5sums=(eac693b6968d99e0a3da89cd7babec11)
-sha512sums=(9493e7abf065d82f6dd8904aab47c2c364d83805b702bbea125e04fc1c4f81f3d0e2941cfc7dd00e4eda2dbdb03de91577abedb4db7548fc64210c0bcbd6a9ee)
-_distdir="${srcdir}/File-pushd-${pkgver}"
-
-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 "$_distdir"
- /usr/bin/perl Makefile.PL
- make
- )
-}
-
-check() {
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- cd "$_distdir"
- make test
- )
-}
-
-package() {
- cd "$_distdir"
- make DESTDIR="$pkgdir" install
- find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
-}
-
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et:
Copied: perl-file-pushd/repos/community-any/PKGBUILD (from rev 86613, perl-file-pushd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-03-20 17:20:59 UTC (rev 86614)
@@ -0,0 +1,48 @@
+# Packager: Justin Davis <jrcd83 at gmail.com>
+# $Id$
+
+pkgname=perl-file-pushd
+pkgver=1.002
+pkgrel=1
+pkgdesc="change directory temporarily for a limited scope"
+arch=(any)
+license=(Apache)
+options=(!emptydirs)
+depends=('perl>=5.005')
+makedepends=('perl-extutils-makemaker>=6.30')
+url=https://metacpan.org/release/File-pushd
+source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/File-pushd-${pkgver}.tar.gz")
+md5sums=(eac693b6968d99e0a3da89cd7babec11)
+sha512sums=(9493e7abf065d82f6dd8904aab47c2c364d83805b702bbea125e04fc1c4f81f3d0e2941cfc7dd00e4eda2dbdb03de91577abedb4db7548fc64210c0bcbd6a9ee)
+_distdir="${srcdir}/File-pushd-${pkgver}"
+
+build() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor" \
+ PERL_MB_OPT="--installdirs vendor" \
+ MODULEBUILDRC=/dev/null
+
+ cd "$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ cd "$_distdir"
+ make test
+ )
+}
+
+package() {
+ cd "$_distdir"
+ make DESTDIR="$pkgdir" install
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list