[arch-commits] Commit in perl-netaddr-ip/trunk (PKGBUILD)
François Charette
francois at archlinux.org
Sun Mar 29 13:02:57 UTC 2009
Date: Sunday, March 29, 2009 @ 09:02:57
Author: francois
Revision: 32144
upgpkg: perl-netaddr-ip 4.026-1
Modified:
perl-netaddr-ip/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-03-29 13:01:43 UTC (rev 32143)
+++ PKGBUILD 2009-03-29 13:02:57 UTC (rev 32144)
@@ -1,28 +1,29 @@
# $Id$
# Maintainer: Dale Blount <dale at archlinux.org>
# Contributor: Dale Blount <dale at archlinux.org>
+# Contributor: Francois Charette <francois.archlinux.org>
pkgname=perl-netaddr-ip
_realname=NetAddr-IP
-pkgver=4.007
-pkgrel=2
+pkgver=4.026
+pkgrel=1
pkgdesc="Perl module to manage IP addresses and subnets."
arch=(i686 x86_64)
-license=('PerlArtistic')
+license=('PerlArtistic' 'GPL')
depends=('perl>=5.10.0')
options=(!emptydirs)
url="http://search.cpan.org/dist/${_realname}/"
-source=(http://search.cpan.org/CPAN/authors/id/L/LU/LUISMUNOZ/${_realname}-${pkgver}.tar.gz)
-md5sums=('21825dc072e688f733e03da24e4d058b')
+source=(http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/${_realname}-${pkgver}.tar.gz)
build() {
- cd ${startdir}/src/${_realname}-${pkgver}
+ cd ${srcdir}/${_realname}-${pkgver}
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
- make install DESTDIR=${startdir}/pkg || return 1
+ make install DESTDIR=${pkgdir} || return 1
# remove perllocal.pod and .packlist
- find ${startdir}/pkg -name perllocal.pod -delete
- find ${startdir}/pkg -name .packlist -delete
+ find ${pkgdir} -name perllocal.pod -delete
+ find ${pkgdir} -name .packlist -delete
}
+md5sums=('c3bfe98137225014ca677b9b588b8432')
More information about the arch-commits
mailing list