Date: Sunday, May 27, 2012 @ 03:43:41 Author: bluewind Revision: 159906
db-move: moved perl-netaddr-ip from [staging] to [testing] (i686) Added: perl-netaddr-ip/repos/testing-i686/ perl-netaddr-ip/repos/testing-i686/PKGBUILD (from rev 159819, perl-netaddr-ip/repos/staging-i686/PKGBUILD) Deleted: perl-netaddr-ip/repos/staging-i686/ ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: perl-netaddr-ip/repos/testing-i686/PKGBUILD (from rev 159819, perl-netaddr-ip/repos/staging-i686/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-05-27 07:43:41 UTC (rev 159906) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: +# Contributor: Dale Blount <d...@archlinux.org> +# Contributor: Francois Charette <francois.archlinux.org> + +pkgname=perl-netaddr-ip +_realname=NetAddr-IP +pkgver=4.058 +pkgrel=2 +pkgdesc="Perl module to manage IP addresses and subnets" +arch=(i686 x86_64) +license=('PerlArtistic' 'GPL') +depends=('perl') +options=('!emptydirs') +url="http://search.cpan.org/dist/${_realname}/" +source=(http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/${_realname}-${pkgver}.tar.gz) +md5sums=('8829958dd84a8b36e3cd10347564739d') + +build() { + cd "${srcdir}/${_realname}-${pkgver}" + # install module in vendor directories. + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/${_realname}-${pkgver}" + make test +} + +package() { + cd "${srcdir}/${_realname}-${pkgver}" + make DESTDIR="${pkgdir}" install +}