[arch-commits] Commit in perl-path-class/trunk (PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Wed Mar 20 18:54:32 UTC 2013
Date: Wednesday, March 20, 2013 @ 19:54:32
Author: eric
Revision: 86631
upgpkg: perl-path-class 0.32-1
Upstream update, Improve url, PKGBUILD clean up
Modified:
perl-path-class/trunk/PKGBUILD
----------+
PKGBUILD | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-03-20 18:46:14 UTC (rev 86630)
+++ PKGBUILD 2013-03-20 18:54:32 UTC (rev 86631)
@@ -2,27 +2,26 @@
# $Id$
pkgname=perl-path-class
-pkgver=0.26
+pkgver=0.32
pkgrel=1
pkgdesc="Cross-platform path specification manipulation"
arch=(any)
license=(PerlArtistic GPL)
options=(!emptydirs)
depends=('perl')
-url=https://metacpan.org/release/Path-Class
+url="http://search.cpan.org/dist/Path-Class"
source=("http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-${pkgver}.tar.gz")
-md5sums=('ec77aaa16cff0c29143c578f30d420cd')
-_distdir="${srcdir}/Path-Class-${pkgver}"
+md5sums=('c3f3bacb17cbefd4f5b47159445415f8')
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'" \
+ PERL_MM_OPT="INSTALLDIRS=vendor" \
+ PERL_MB_OPT="--installdirs vendor" \
MODULEBUILDRC=/dev/null
- cd "$_distdir"
+ cd Path-Class-${pkgver}
/usr/bin/perl Build.PL
./Build
)
@@ -30,12 +29,15 @@
check()
(
export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- cd "$_distdir"
+ cd Path-Class-${pkgver}
./Build test
)
package() {
- cd "$_distdir"
+ export PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'"
+
+ cd Path-Class-${pkgver}
./Build install
}
More information about the arch-commits
mailing list