blob: b676b252453a0dd96a4f52bbb3dada4b72555327 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $Id: PKGBUILD 125273 2011-05-25 19:19:34Z foutrelis $
# Maintainer: kevin <kevin@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=perl-net-dns
_realname=Net-DNS
pkgver=0.66
pkgrel=4
pkgdesc="Perl Module: Interface to the DNS resolver."
arch=(i686 x86_64 'mips64el')
license=('PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl-digest-hmac' 'perl-net-ip' 'perl>=5.10.0')
source=(http://www.cpan.org/authors/id/O/OL/OLAF/${_realname}-$pkgver.tar.gz)
options=(!emptydirs)
build() {
cd $srcdir/${_realname}-${pkgver}
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/${_realname}-${pkgver}
make install DESTDIR=${pkgdir}
# remove perllocal.pod and .packlist
find ${pkgdir} -name perllocal.pod -delete
find ${pkgdir} -name .packlist -delete
}
# vim: ts=2 sw=2 et ft=sh
md5sums=('1635d876324e3c2f6e277d5778bfe94c')
|