mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 12:57:14 +08:00
29 lines
802 B
Bash
29 lines
802 B
Bash
# $Id: PKGBUILD 78120 2010-04-19 11:25:50Z allan $
|
|
# Maintainer: Kevin Piche <kevin@archlinux.org>
|
|
|
|
pkgname=perl-net-ip
|
|
_realname=Net-IP
|
|
pkgver=1.25
|
|
pkgrel=5
|
|
pkgdesc="Perl Module: Easy manipulation of IPv4 and IPv6 addresses"
|
|
arch=('any')
|
|
license=('PerlArtistic')
|
|
url="http://search.cpan.org/dist/${_realname}/"
|
|
depends=('perl>=5.10.0')
|
|
options=(!emptydirs)
|
|
source=(http://www.cpan.org/authors/id/M/MA/MANU/${_realname}-${pkgver}.tar.gz)
|
|
md5sums=('a49c0b02a9b793ff60191cdafc0c202e')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_realname}-${pkgver}
|
|
# install module in vendor directories.
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor \
|
|
INSTALLVENDORSCRIPT=/usr/bin || return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${_realname}-${pkgver}
|
|
make install DESTDIR=${pkgdir} || return 1
|
|
}
|