[arch-commits] Commit in perl-cpanplus/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Tue Jun 16 02:46:49 UTC 2015
Date: Tuesday, June 16, 2015 @ 04:46:49
Author: fyan
Revision: 135459
upgpkg: perl-cpanplus 0.9152-2
fix dependency on perl-package-constants (FS#45332)
Modified:
perl-cpanplus/trunk/PKGBUILD (contents, properties)
----------+
PKGBUILD | 36 +++++++++++++-----------------------
1 file changed, 13 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-06-16 02:44:40 UTC (rev 135458)
+++ PKGBUILD 2015-06-16 02:46:49 UTC (rev 135459)
@@ -1,13 +1,15 @@
-# Maintainer: Florian Pritz <bluewind at xinu.at>
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Florian Pritz <bluewind at xinu.at>
pkgname=perl-cpanplus
pkgver=0.9152
-pkgrel=1
+pkgrel=2
pkgdesc='Ameliorated interface to the CPAN'
arch=(any)
license=(PerlArtistic GPL)
options=(!emptydirs)
-depends=(perl perl-log-message perl-archive-extract perl-term-ui perl-log-message-simple perl-module-pluggable perl-object-accessor)
+depends=(perl perl-log-message perl-archive-extract perl-term-ui perl-log-message-simple perl-module-pluggable perl-object-accessor perl-package-constants)
url=https://metacpan.org/release/CPANPLUS
source=("http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/CPANPLUS-$pkgver.tar.gz")
md5sums=('c1c762c6d1f67d731e4ecc4d30fc5b97')
@@ -14,32 +16,20 @@
sha512sums=('4665d00006ffccbdbda5a9228763c35edb51581e7c66058f27bb4f21134e56c50eb54ab5bf6540b109dfb48175b65d57d1838638ac806e01add0b2865e3746cf')
_ddir="CPANPLUS-$pkgver"
-build()
-(
+build() {
cd "$srcdir/$_ddir"
- export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
- unset PERL5LIB PERL_MM_OPT
- /usr/bin/perl Makefile.PL
+ perl Makefile.PL INSTALLDIRS=vendor
make
-)
+}
-check()
-(
+check() {
cd "$srcdir/$_ddir"
- export PERL_MM_USE_DEFAULT=1
- unset PERL5LIB
make test
-)
+}
-package()
-(
+package() {
cd "$srcdir/$_ddir"
- make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
- find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
-)
+ make install DESTDIR="$pkgdir"
+}
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
# vim:set ts=2 sw=2 et:
Property changes on: perl-cpanplus/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list