[arch-commits] CVS update of extra/lib/perl-error (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Sat Sep 1 20:19:03 UTC 2007
Date: Saturday, September 1, 2007 @ 16:19:03
Author: jgc
Path: /home/cvs-extra/extra/lib/perl-error
Modified: PKGBUILD (1.2 -> 1.3)
upgpkg: perl-error 0.17009-1
Use universal perl methods
----------+
PKGBUILD | 35 ++++++++++++++++++-----------------
1 file changed, 18 insertions(+), 17 deletions(-)
Index: extra/lib/perl-error/PKGBUILD
diff -u extra/lib/perl-error/PKGBUILD:1.2 extra/lib/perl-error/PKGBUILD:1.3
--- extra/lib/perl-error/PKGBUILD:1.2 Fri May 4 10:10:29 2007
+++ extra/lib/perl-error/PKGBUILD Sat Sep 1 16:19:03 2007
@@ -1,30 +1,31 @@
-# $Id: PKGBUILD,v 1.2 2007/05/04 14:10:29 dale Exp $
+# $Id: PKGBUILD,v 1.3 2007/09/01 20:19:03 jgc Exp $
# Maintainer: Dale Blount <dale at archlinux.org>
# Contributor: Dale Blount <dale at archlinux.org>
pkgname=perl-error
-pkgver=0.17008
-pkgrel=4
-pkgdesc="Perl extension for Version Objects."
+pkgver=0.17009
+pkgrel=1
+pkgdesc="Perl/CPAN Error module - Error/exception handling in an OO-ish way"
+url="http://search.cpan.org/dist/Error"
arch=(i686 x86_64)
+license=('PerlArtistic' 'GPL')
depends=(perl)
-url="http://search.cpan.org/dist/version/"
+options=('force' '!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Error-$pkgver.tar.gz)
-md5sums=('647134e1aeb5893a4d08d711c858308b')
-# remove force in a while - version errors.
-options=('force')
+md5sums=('aad8c0deacf2f1e9fdb9cc6c428acd92')
build() {
cd $startdir/src/Error-$pkgver
- eval `perl -V:archname`
+ # Force module installation to "current" perl directories.
+ eval `perl -V:archname`
perl Makefile.PL \
- INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
- INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
- INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
+ INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
+ INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
+ INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
make || return 1
- make DESTDIR=${startdir}/pkg install
- find ${startdir}/pkg -name '.packlist' -exec rm -f {} \;
- find ${startdir}/pkg -name 'perllocal.pod' -exec rm -f {} \;
- rm -r $startdir/pkg/usr/lib/perl5/site_perl/current/i686-linux-thread-multi/
- rm -r $startdir/pkg/usr/lib/perl5/current/
+ make install DESTDIR=${startdir}/pkg
+
+ # remove perllocal.pod and .packlist
+ find ${startdir}/pkg -name perllocal.pod -delete
+ find ${startdir}/pkg -name .packlist -delete
}
More information about the arch-commits
mailing list