mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
29 lines
941 B
Bash
29 lines
941 B
Bash
# $Id: PKGBUILD 49627 2009-08-14 04:20:26Z kevin $
|
|
# Maintainer: Dale Blount <dale@archlinux.org>
|
|
# Contributor: Dale Blount <dale@archlinux.org>
|
|
# Contributor: Francois Charette <francois.archlinux.org>
|
|
|
|
pkgname=perl-netaddr-ip
|
|
_realname=NetAddr-IP
|
|
pkgver=4.027
|
|
pkgrel=1
|
|
pkgdesc="Perl module to manage IP addresses and subnets"
|
|
arch=(i686 x86_64)
|
|
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/M/MI/MIKER/${_realname}-${pkgver}.tar.gz)
|
|
md5sums=('c4a21a76e5b1b9f4c8e9810b78559d7b')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_realname}-${pkgver}
|
|
# install module in vendor directories.
|
|
perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=${pkgdir} || return 1
|
|
|
|
# remove perllocal.pod and .packlist
|
|
find ${pkgdir} -name perllocal.pod -delete
|
|
find ${pkgdir} -name .packlist -delete
|
|
}
|