[arch-commits] Commit in perl-test-requires/repos/community-any (PKGBUILD PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Wed Mar 20 17:33:00 UTC 2013
Date: Wednesday, March 20, 2013 @ 18:33:00
Author: eric
Revision: 86622
archrelease: copy trunk to community-any
Added:
perl-test-requires/repos/community-any/PKGBUILD
(from rev 86621, perl-test-requires/trunk/PKGBUILD)
Deleted:
perl-test-requires/repos/community-any/PKGBUILD
----------+
PKGBUILD | 65 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 36 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-03-20 17:32:41 UTC (rev 86621)
+++ PKGBUILD 2013-03-20 17:33:00 UTC (rev 86622)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Justin Davis <jrcd83 at gmail.com>
-
-pkgname='perl-test-requires'
-pkgver='0.06'
-pkgrel='1'
-pkgdesc="Checks to see if the module can be loaded"
-arch=('any')
-license=('PerlArtistic' 'GPL')
-options=('!emptydirs')
-depends=('perl')
-url='http://search.cpan.org/dist/Test-Requires'
-source=("http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-$pkgver.tar.gz")
-md5sums=('6ce0da3cceadb6420d4c3c5bb69f64db')
-
-build() {
- cd "${srcdir}/Test-Requires-$pkgver"
- 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
- perl Makefile.PL
- make
- make test
- make install
- find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
-}
Copied: perl-test-requires/repos/community-any/PKGBUILD (from rev 86621, perl-test-requires/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-03-20 17:33:00 UTC (rev 86622)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Justin Davis <jrcd83 at gmail.com>
+
+pkgname='perl-test-requires'
+pkgver='0.06'
+pkgrel='1'
+pkgdesc="Checks to see if the module can be loaded"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url='http://search.cpan.org/dist/Test-Requires'
+source=("http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-$pkgver.tar.gz")
+md5sums=('6ce0da3cceadb6420d4c3c5bb69f64db')
+
+build() {
+ cd "${srcdir}/Test-Requires-$pkgver"
+ export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor" \
+ PERL_MB_OPT="--installdirs vendor" \
+ MODULEBUILDRC=/dev/null
+ perl Makefile.PL
+ make
+}
+
+check() {
+ cd "${srcdir}/Test-Requires-$pkgver"
+ make test
+}
+
+package() {
+ cd "${srcdir}/Test-Requires-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list